diff options
author | Côme BERNIGAUD <come.bernigaud@laposte.net> | 2011-08-27 18:09:14 +0200 |
---|---|---|
committer | Côme BERNIGAUD <come.bernigaud@laposte.net> | 2011-08-27 18:09:14 +0200 |
commit | e8fa2d34424a7dda34e62e3feb3e934330c1e9f8 (patch) | |
tree | 4a99417b11a3abe2f8a9c9d84eef888b37916cb5 /lib/db.php | |
parent | 9b674d26c051f1d1a4eebce046baa6460f97ed44 (diff) | |
download | nextcloud-server-e8fa2d34424a7dda34e62e3feb3e934330c1e9f8.tar.gz nextcloud-server-e8fa2d34424a7dda34e62e3feb3e934330c1e9f8.zip |
Added db4app lib, and apps test_db that shows how it works.
Also fixed a typo in db.php
Diffstat (limited to 'lib/db.php')
-rw-r--r-- | lib/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php index 76d3fe5efcb..414525ae207 100644 --- a/lib/db.php +++ b/lib/db.php @@ -129,7 +129,7 @@ class OC_DB { // Die if we have an error (error means: bad query, not 0 results!) if( PEAR::isError($result)) { $entry = 'DB Error: "'.$result->getMessage().'"<br />'; - $entry .= 'Offending command was: '.$cmd.'<br />'; + $entry .= 'Offending command was: '.$query.'<br />'; error_log( $entry ); die( $entry ); } |