1
0
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:
Jakub Vrana
2025-03-22 08:25:51 +01:00
parent 359d153130
commit db829fd463
2 changed files with 2 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ if (extension_loaded('pdo')) {
return false;
}
$row = $result->fetch();
return $row[$field];
return $row ? $row[$field] : false;
}
}