summaryrefslogtreecommitdiff
path: root/src/Database
diff options
context:
space:
mode:
Diffstat (limited to 'src/Database')
-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;