Fixed undefined variable warning.
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
||||
|
||||
2004-03-25 Michal Cihar <michal@cihar.com>
|
||||
* lang/czech: Updated.
|
||||
* tbl_select.php: Fixed undefined variable warning.
|
||||
|
||||
2004-04-13 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/relation.lib.php: bug 930445 when PMA_table_info not defined,
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user