Skip to content

Commit

Permalink
Update src/ItemTreeTraversal/MysqlItemTreeTraversal.php
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Tigrov <[email protected]>
  • Loading branch information
arogachev and Tigrov authored Sep 25, 2023
1 parent f67cabf commit 3870a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ItemTreeTraversal/MysqlItemTreeTraversal.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ private function getChildrenRowsCommand(string $name, QueryInterface $baseOuterQ
->leftJoin($this->tableName . ' AS item', ['item.name' => new Expression('s.child')])
->addParams([':name' => $name]);

return $this->database->createCommand($outerQuery->createCommand()->getRawSql());
return $outerQuery->createCommand();
}
}

0 comments on commit 3870a94

Please sign in to comment.