Merge pull request #9932 from cakephp/issue-9927

Use array conditions for joins.
This commit is contained in:
José Lorenzo Rodríguez 2016-12-30 00:02:58 +01:00 committed by GitHub
commit 7e187a4e41

View file

@ -102,7 +102,7 @@ class AclNode extends Model {
'alias' => "{$type}{$i}",
'type' => 'INNER',
'conditions' => array(
$db->name("{$type}{$i}.alias") . ' = ' . $db->value($alias, 'string')
"{$type}{$i}.alias" => $alias
)
);