Fixed undefined variable warning.

This commit is contained in:
Michal Čihař
2004-04-14 12:09:03 +00:00
parent 75b42ab0ab
commit 7ddd5e4352
2 changed files with 2 additions and 1 deletions

View File

@@ -278,7 +278,7 @@ function PMA_tbl_select_operator(f, index, multiple) {
else {
// Builds the query
$sql_query = 'SELECT ' . (($distinct == 'DISTINCT') ? 'DISTINCT ' : '');
$sql_query = 'SELECT ' . (isset($distinct) ? 'DISTINCT ' : '');
// if all fields were selected to display, we do a SELECT *
// (more efficient and this helps prevent a problem in IE