diff --git a/index.php b/index.php index 3a86230..47747e4 100644 --- a/index.php +++ b/index.php @@ -47,7 +47,7 @@ class JobSql implements ISqlBase { } class Job extends BaseModel { - private $sql = new JobSql(); + private static $sql = new JobSql(); public function __construct() { parent::__construct( new JobSql() ); }