mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 15:16:44 +02:00
Notices: fetch_field in PDO
This commit is contained in:
@@ -94,7 +94,7 @@ if (extension_loaded('pdo')) {
|
||||
function fetch_field() {
|
||||
$row = (object) $this->getColumnMeta($this->_offset++);
|
||||
$row->type = $row->pdo_type; //! map to MySQL numbers
|
||||
$row->charsetnr = (in_array("blob", (array) $row->flags) ? 63 : 0);
|
||||
$row->charsetnr = (isset($row->flags) && in_array("blob", (array) $row->flags) ? 63 : 0);
|
||||
return $row;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user