From 0ebd83c0163e858f32278b9ccd88610a5ed5744d Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 15:03:34 +0200 Subject: [PATCH] DT --- db.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db.class.php b/db.class.php index 1a510f0..1981cdf 100644 --- a/db.class.php +++ b/db.class.php @@ -12,7 +12,8 @@ class db function __construct($database) { - $this->open($database); + $this->database = $database; + $this->open(); }