Do not ignore error here
The previous fetchAssoc would also fail in case of invalid resource. Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
8ac8ca1a02
commit
8552da5842
@ -3547,7 +3547,7 @@ function PMA_getUsersOverview($result, $db_rights, $pmaThemeImage, $text_dir)
|
||||
$row['privs'] = PMA_extractPrivInfo($row, true);
|
||||
$db_rights[$row['User']][$row['Host']] = $row;
|
||||
}
|
||||
@$GLOBALS['dbi']->freeResult($result);
|
||||
$GLOBALS['dbi']->freeResult($result);
|
||||
$user_group_count = 0;
|
||||
if ($GLOBALS['cfgRelation']['menuswork']) {
|
||||
$user_group_count = PMA_getUserGroupCount();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user