From a348b4c738c2c5434658f6551f2c021fef9db8db Mon Sep 17 00:00:00 2001 From: Sieciech Date: Sun, 28 Feb 2021 00:53:32 +0100 Subject: [PATCH] static --- app/Model/JobModel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Model/JobModel.php b/app/Model/JobModel.php index 5268af1..794a297 100644 --- a/app/Model/JobModel.php +++ b/app/Model/JobModel.php @@ -12,8 +12,8 @@ class JobModel extends BaseModel { public int $id; public float $budget; public static function Initialize() { - if (self::$query === null) { - self::$query = new JobQuery($this); + if (static::$query === null) { + ststic::$query = new JobQuery($this); } } public static function GetLast10() {