mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Merge pull request #9932 from cakephp/issue-9927
Use array conditions for joins.
This commit is contained in:
commit
7e187a4e41
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class AclNode extends Model {
|
||||||
'alias' => "{$type}{$i}",
|
'alias' => "{$type}{$i}",
|
||||||
'type' => 'INNER',
|
'type' => 'INNER',
|
||||||
'conditions' => array(
|
'conditions' => array(
|
||||||
$db->name("{$type}{$i}.alias") . ' = ' . $db->value($alias, 'string')
|
"{$type}{$i}.alias" => $alias
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue