mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing auto merge issues.
This commit is contained in:
parent
7a620b62b0
commit
8b93235847
1 changed files with 0 additions and 1 deletions
|
@ -1888,7 +1888,6 @@ class DboSource extends DataSource {
|
|||
unset($fields[$i]);
|
||||
continue;
|
||||
}
|
||||
if (preg_match('/^\(.*\)\s' . $this->alias . '.*/i', $fields[$i])){
|
||||
if (is_object($fields[$i]) && isset($fields[$i]->type) && $fields[$i]->type === 'expression') {
|
||||
$fields[$i] = $fields[$i]->value;
|
||||
} elseif (preg_match('/^\(.*\)\s' . $this->alias . '.*/i', $fields[$i])){
|
||||
|
|
Loading…
Reference in a new issue