forgott to include query bindings into selectOne

This commit is contained in:
msquare 2017-07-28 20:12:40 +02:00
parent f82e5456d2
commit 26515d7582
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class Db
*/ */
public static function selectOne($query, array $bindings = []) public static function selectOne($query, array $bindings = [])
{ {
$result = self::select($query); $result = self::select($query, $bindings);
if(empty($result)) { if(empty($result)) {
return null; return null;