mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 13:17:58 +02:00
PdoDriver: fix notice undefined index native_type
This commit is contained in:
committed by
David Grudl
parent
6e4a6474cd
commit
669ce73096
@@ -451,7 +451,10 @@ class DibiPdoDriver extends DibiObject implements IDibiDriver, IDibiResultDriver
|
||||
}
|
||||
// PHP < 5.2.3 compatibility
|
||||
// @see: http://php.net/manual/en/pdostatement.getcolumnmeta.php#pdostatement.getcolumnmeta.changelog
|
||||
$row['table'] = isset($row['table']) ? $row['table'] : NULL;
|
||||
$row = $row + array(
|
||||
'table' => NULL,
|
||||
'native_type' => 'VAR_STRING',
|
||||
);
|
||||
|
||||
$columns[] = array(
|
||||
'name' => $row['name'],
|
||||
|
Reference in New Issue
Block a user