From 26515d75827c18655c0e2e2ed174cdbf7419a7b9 Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 28 Jul 2017 20:12:40 +0200 Subject: [PATCH] forgott to include query bindings into selectOne --- src/Database/Db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;