mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 20:01:25 +02:00
PDO: Handle PHP warnings for internal queries
This commit is contained in:
@@ -72,7 +72,7 @@ if (extension_loaded('pdo')) {
|
||||
return false;
|
||||
}
|
||||
$row = $result->fetch();
|
||||
return $row[$field];
|
||||
return $row ? $row[$field] : false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user