Skip to content

Commit

Permalink
Fixed query bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFun123 committed Jul 27, 2022
1 parent deed648 commit 3703c04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "interaapps/uloleorm",
"version": "3.2.1",
"version": "3.2.2",
"type": "library",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion de/interaapps/ulole/orm/drivers/SQLDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function createQuery(Query $q): stdClass {
$out->vars = array_merge($out->vars, $query['vals']);
} else if (isset($query["queries"])) {
$out->query .= ' (';
$where = ($query["queries"])->buildQuery();
$where = $this->createQuery(($query["queries"]));
$out->vars = array_merge($out->vars, $where->vars);
$out->query .= $where->query;
$out->query .= ') ';
Expand Down
2 changes: 1 addition & 1 deletion uppm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uloleorm",
"version": "3.2.1",
"version": "3.2.2",
"repositories": [],
"run": {},
"build": {},
Expand Down

0 comments on commit 3703c04

Please sign in to comment.