mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Notices: fetch_field in PDO
This commit is contained in:
@@ -94,7 +94,7 @@ if (extension_loaded('pdo')) {
|
|||||||
function fetch_field() {
|
function fetch_field() {
|
||||||
$row = (object) $this->getColumnMeta($this->_offset++);
|
$row = (object) $this->getColumnMeta($this->_offset++);
|
||||||
$row->type = $row->pdo_type; //! map to MySQL numbers
|
$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;
|
return $row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user