mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 21:12:41 +00:00
Fixing bug in DboMysql::describe()
This commit is contained in:
parent
17f24719ee
commit
88a2fb5058
2 changed files with 6 additions and 5 deletions
|
@ -423,7 +423,7 @@ class DboMysql extends DboSource {
|
|||
}
|
||||
foreach ($this->fieldParameters as $name => $value) {
|
||||
if (!empty($column->{$value['column']})) {
|
||||
$fields[$column->Field][$name] = $column[0][$value['column']];
|
||||
$fields[$column->Field][$name] = $column->{$value['column']};
|
||||
}
|
||||
}
|
||||
if (isset($fields[$column->Field]['collate'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue