Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Michał Sieciechowicz | 248006a830 |
|
@ -23,7 +23,7 @@ abstract class Model {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static function QueryModel() {
|
protected static function QueryModel() {
|
||||||
if (true || (self::$query === null && self::class !== static::class)) {
|
if (self::$query === null && self::class !== static::class) {
|
||||||
self::$query = static::SetQueryModel();
|
self::$query = static::SetQueryModel();
|
||||||
}
|
}
|
||||||
return self::$query;
|
return self::$query;
|
||||||
|
|
Loading…
Reference in New Issue