summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-07-28 20:12:40 +0200
committermsquare <msquare@notrademark.de>2017-07-28 20:12:40 +0200
commit26515d75827c18655c0e2e2ed174cdbf7419a7b9 (patch)
tree93cb5a255f8a074ab359b08f1c3bea0629a582f7
parentf82e5456d22af7e39a22a9a64e74072cf01e0a31 (diff)
forgott to include query bindings into selectOne
-rw-r--r--src/Database/Db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Database/Db.php b/src/Database/Db.php
index 9422ae77..777b16a2 100644
--- a/src/Database/Db.php
+++ b/src/Database/Db.php
@@ -88,7 +88,7 @@ class Db
*/
public static function selectOne($query, array $bindings = [])
{
- $result = self::select($query);
+ $result = self::select($query, $bindings);
if(empty($result)) {
return null;