diff options
author | Filipp Lepalaan <filipp@mac.com> | 2011-08-01 15:39:42 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2011-08-01 15:39:42 +0300 |
commit | b09adf07febd1e3cc14449434532451c98aad2c7 (patch) | |
tree | 51e5a60a7960b1f8c7f65bd115f9e27670064edd /MainDb.php | |
parent | 84b13d3d2642ad79369b33772c31c3e51d46d36f (diff) | |
download | main-b09adf07febd1e3cc14449434532451c98aad2c7.tar.gz main-b09adf07febd1e3cc14449434532451c98aad2c7.tar.bz2 main-b09adf07febd1e3cc14449434532451c98aad2c7.zip |
some fixes
Diffstat (limited to 'MainDb.php')
-rw-r--r-- | MainDb.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |