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 a3b52ed commit e45ab00Copy full SHA for e45ab00
src/Mouf/Database/MagicQuery.php
@@ -120,11 +120,9 @@ private function magicJoin(NodeInterface $select) {
120
$nodeTraverser->walk($select);
121
122
$magicJoinSelects = $magicJoinDetector->getMagicJoinSelects();
123
- if ($magicJoinSelects) {
124
- foreach ($magicJoinSelects as $magicJoinSelect) {
125
- // For each select in the query (there can be nested selects!), let's find the list of tables.
126
- $this->magicJoinOnOneQuery($magicJoinSelect);
127
- }
+ foreach ($magicJoinSelects as $magicJoinSelect) {
+ // For each select in the query (there can be nested selects!), let's find the list of tables.
+ $this->magicJoinOnOneQuery($magicJoinSelect);
128
}
129
130
0 commit comments