Use explicit checking for empty

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-03-26 19:10:05 +05:30
parent 7981437b85
commit 5cfc3755b0

View File

@ -1274,7 +1274,7 @@ class PMA_DisplayResults
);
// do we have any index?
if ($indexes) {
if (! empty($indexes)) {
$drop_down_html = $this->_getSortByKeyDropDown(
$indexes, $sort_expression,
$unsorted_sql_query