summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCătălin Frâncu <[email protected]>2019-12-11 14:04:07 +0200
committerGitHub <[email protected]>2019-12-11 14:04:07 +0200
commit29d543293c2a4d6e8cef63974274d4056a028fa0 (patch)
tree6382fac7c74da1df5d4687164cb4d6454c0e7547
parentee3022fcf71232309112714ca4a7760105002f99 (diff)
Fix argument order in call to join().
-rw-r--r--idiorm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/idiorm.php b/idiorm.php
index de7538a..2b1f38c 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -1355,7 +1355,7 @@
}
}
$query[] = "))";
- return $this->where_raw(join($query, ' '), $data);
+ return $this->where_raw(join(' ', $query), $data);
}
/**