mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
PDO: Handle PHP warnings for internal queries
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
- Display collation at table structure if different from table
|
||||
- Ctrl+click in select moves the cursor in modern browsers
|
||||
- URL parameter ?ext=pdo to force using PDO
|
||||
- PDO: Handle PHP warnings for internal queries
|
||||
- PostgreSQL: Display auto_increment of inserted rows
|
||||
- PostgreSQL: Display description of system variables
|
||||
- PostgreSQL: Avoid warning about crdb_version (bug #924, regression from 5.0.5)
|
||||
|
@@ -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