aboutsummaryrefslogtreecommitdiffstats
path: root/lib/database.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2011-04-16 23:19:13 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2011-04-16 23:19:13 +0200
commitf8e05b67ff8f735f8a8b32553ae84633e2b57cec (patch)
treef804319cfb79b2b97c87028a722ed3fe29591855 /lib/database.php
parentd376b4c90ab76785ad98ef0d888733543b06043e (diff)
parentaf40d872ce8b815afa2e8ace6db6fc544f12e42f (diff)
downloadnextcloud-server-f8e05b67ff8f735f8a8b32553ae84633e2b57cec.tar.gz
nextcloud-server-f8e05b67ff8f735f8a8b32553ae84633e2b57cec.zip
Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring
Diffstat (limited to 'lib/database.php')
-rw-r--r--lib/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/database.php b/lib/database.php
index dc4bf75649b..b620009bf50 100644
--- a/lib/database.php
+++ b/lib/database.php
@@ -152,7 +152,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 );
}