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

@@ -7,6 +7,7 @@ $Source$
2004-03-25 Michal Cihar <michal@cihar.com> 2004-03-25 Michal Cihar <michal@cihar.com>
* lang/czech: Updated. * lang/czech: Updated.
* tbl_select.php: Fixed undefined variable warning.
2004-04-13 Marc Delisle <lem9@users.sourceforge.net> 2004-04-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/relation.lib.php: bug 930445 when PMA_table_info not defined, * libraries/relation.lib.php: bug 930445 when PMA_table_info not defined,

View File

@@ -278,7 +278,7 @@ function PMA_tbl_select_operator(f, index, multiple) {
else { else {
// Builds the query // 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 * // if all fields were selected to display, we do a SELECT *
// (more efficient and this helps prevent a problem in IE // (more efficient and this helps prevent a problem in IE