diff options
Diffstat (limited to 'Db.php')
-rw-r--r-- | Db.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,7 +47,7 @@ class Db */ public function __clone() { - trigger_error("Hello, ich name was Singleton. Cloning is not allowed", E_USER_ERROR); + trigger_error("Cloning not work is", E_USER_ERROR); } /** @@ -106,7 +106,7 @@ class Db public function fetch($sql, $data = null) { - $stmt = DB::query($sql, $data); + $stmt = self::query($sql, $data); return $stmt->fetchAll(PDO::FETCH_ASSOC); } |