Fixing syntax errors

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5572 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2007-08-23 05:43:12 +00:00
parent 84ff113d1d
commit f2e5dcbbf9

View file

@ -186,7 +186,7 @@ class DboOdbc extends DboSource{
foreach ($cols as $column) {
$type = odbc_field_type(odbc_exec($this->connection, "SELECT " . $column . " FROM " . $this->fullTableName($model)), 1);
$fields[$column] array('type' => $type));
$fields[$column] = array('type' => $type);
}
$this->__cacheDescription($model->tablePrefix . $model->table, $fields);