From f2e5dcbbf9bbf9d1589cab1ea6b9952dfd7c61fe Mon Sep 17 00:00:00 2001 From: dho Date: Thu, 23 Aug 2007 05:43:12 +0000 Subject: [PATCH] Fixing syntax errors git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5572 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/model/datasources/dbo/dbo_odbc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/model/datasources/dbo/dbo_odbc.php b/cake/libs/model/datasources/dbo/dbo_odbc.php index 40a737035..1b17dd226 100644 --- a/cake/libs/model/datasources/dbo/dbo_odbc.php +++ b/cake/libs/model/datasources/dbo/dbo_odbc.php @@ -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);