diff options
Diffstat (limited to 'src/lib/Model.class.php')
-rw-r--r-- | src/lib/Model.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Model.class.php b/src/lib/Model.class.php index 14f59d4..0cce525 100644 --- a/src/lib/Model.class.php +++ b/src/lib/Model.class.php @@ -4,6 +4,6 @@ require_once('Database.class.php'); abstract class Model { protected $db; public function __construct() { - $db = Database::getInstance(); + $this->db = Database::getInstance(); } } |