From e14198e26212194e7c14571ef410ccc0d8e98054 Mon Sep 17 00:00:00 2001 From: Dariusz Date: Mon, 8 Mar 2021 22:26:12 +0100 Subject: [PATCH] fix --- src/Fufle/ORM/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fufle/ORM/Model.php b/src/Fufle/ORM/Model.php index e9692e8..272edfd 100644 --- a/src/Fufle/ORM/Model.php +++ b/src/Fufle/ORM/Model.php @@ -23,7 +23,7 @@ abstract class Model { } protected static function QueryModel() { - if (false && self::$query === null && self::class !== static::class) { + if (true || (self::$query === null && self::class !== static::class)) { self::$query = static::SetQueryModel(); } return self::$query;