forgott to include query bindings into selectOne

main
msquare 8 years ago
parent f82e5456d2
commit 26515d7582

@ -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;

Loading…
Cancel
Save