diff options
author | Filipp Lepalaan <filipp@mekanisti.fi> | 2009-10-24 11:31:22 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mekanisti.fi> | 2009-10-24 11:31:22 +0300 |
commit | 46283ee631d6233c43279147191ada605308dd42 (patch) | |
tree | c22bec2a84269e76ad6da73ae8741c484dd79df7 /Db.php | |
parent | 08cba850d34f1e3692ec2aa9ff051fdeabe47b7f (diff) | |
download | main-46283ee631d6233c43279147191ada605308dd42.tar.gz main-46283ee631d6233c43279147191ada605308dd42.tar.bz2 main-46283ee631d6233c43279147191ada605308dd42.zip |
Error logging
Diffstat (limited to 'Db.php')
-rw-r--r-- | Db.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ class Db $stmt = self::getInstance()->prepare($sql); $result = $stmt->execute($data); - + if (!$result) { $e = $stmt->errorInfo(); exit(App::error($e[2])); |