mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
84ff113d1d
commit
f2e5dcbbf9
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class DboOdbc extends DboSource{
|
||||||
|
|
||||||
foreach ($cols as $column) {
|
foreach ($cols as $column) {
|
||||||
$type = odbc_field_type(odbc_exec($this->connection, "SELECT " . $column . " FROM " . $this->fullTableName($model)), 1);
|
$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);
|
$this->__cacheDescription($model->tablePrefix . $model->table, $fields);
|
||||||
|
|
Loading…
Add table
Reference in a new issue