diff options
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index fed467d..e032a03 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -1084,7 +1084,7 @@ function _get_field_defs() { for ($res = $this->query('SHOW COLUMNS FROM ' . $this->_p['table']); $res && ($field = $this->_fetch_assoc($res)); ) $result[$field['Field']] = it::filter_keys($field, ['Field', 'Type', 'Key', 'Extra']); - return $result; + return (array)$result; } function _tables($p) { |