aboutsummaryrefslogtreecommitdiffstats
path: root/Db.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mekanisti.fi>2009-10-24 11:31:22 +0300
committerFilipp Lepalaan <filipp@mekanisti.fi>2009-10-24 11:31:22 +0300
commit46283ee631d6233c43279147191ada605308dd42 (patch)
treec22bec2a84269e76ad6da73ae8741c484dd79df7 /Db.php
parent08cba850d34f1e3692ec2aa9ff051fdeabe47b7f (diff)
downloadmain-46283ee631d6233c43279147191ada605308dd42.tar.gz
main-46283ee631d6233c43279147191ada605308dd42.tar.bz2
main-46283ee631d6233c43279147191ada605308dd42.zip
Error logging
Diffstat (limited to 'Db.php')
-rw-r--r--Db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Db.php b/Db.php
index 2ce5ff0..f72ba4b 100644
--- a/Db.php
+++ b/Db.php
@@ -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]));