We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc15c78 commit e36c537Copy full SHA for e36c537
lib/Cake/Model/AclNode.php
@@ -85,7 +85,7 @@ public function node($ref = null) {
85
'joins' => array(array(
86
'table' => $table,
87
'alias' => "{$type}0",
88
- 'type' => 'LEFT',
+ 'type' => 'INNER',
89
'conditions' => array("{$type}0.alias" => $start)
90
)),
91
'order' => $db->name("{$type}.lft") . ' DESC'
@@ -97,7 +97,7 @@ public function node($ref = null) {
97
$queryData['joins'][] = array(
98
99
'alias' => "{$type}{$i}",
100
101
'conditions' => array(
102
$db->name("{$type}{$i}.lft") . ' > ' . $db->name("{$type}{$j}.lft"),
103
$db->name("{$type}{$i}.rght") . ' < ' . $db->name("{$type}{$j}.rght"),
0 commit comments