aboutsummaryrefslogtreecommitdiffstats
path: root/MainDb.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2011-08-01 15:39:42 +0300
committerFilipp Lepalaan <filipp@mac.com>2011-08-01 15:39:42 +0300
commitb09adf07febd1e3cc14449434532451c98aad2c7 (patch)
tree51e5a60a7960b1f8c7f65bd115f9e27670064edd /MainDb.php
parent84b13d3d2642ad79369b33772c31c3e51d46d36f (diff)
downloadmain-b09adf07febd1e3cc14449434532451c98aad2c7.tar.gz
main-b09adf07febd1e3cc14449434532451c98aad2c7.tar.bz2
main-b09adf07febd1e3cc14449434532451c98aad2c7.zip
some fixes
Diffstat (limited to 'MainDb.php')
-rw-r--r--MainDb.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/MainDb.php b/MainDb.php
index 1f9401a..8c05aac 100644
--- a/MainDb.php
+++ b/MainDb.php
@@ -113,7 +113,8 @@ class MainDb
return MainApp::error($error);
}
- } catch (PDOException $e) {
+ }
+ catch (PDOException $e) {
$error = $e->getMessage() . $sql;
$error .= "\n" . print_r(debug_backtrace(), TRUE);
return MainApp::error($error);