Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-07 02:45:12 +0400
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-07 02:45:12 +0400
commit408b2cba58c39a9036c19e3f84379ad019ca2a87 (patch)
treee4c38b8901d77c2b1b3f9e2054a1a7e5eedd6b59 /lib/migration
parent01cecc9522c673fe87a5f561172166c4ed2f2a87 (diff)
fixing undefined variable $result - should be $query I assume
Diffstat (limited to 'lib/migration')
-rw-r--r--lib/migration/content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/migration/content.php b/lib/migration/content.php
index 00df62f0c7f..e81c8f217ff 100644
--- a/lib/migration/content.php
+++ b/lib/migration/content.php
@@ -66,7 +66,7 @@ class OC_Migration_Content{
// Die if we have an error (error means: bad query, not 0 results!)
if( PEAR::isError( $query ) ) {
- $entry = 'DB Error: "'.$result->getMessage().'"<br />';
+ $entry = 'DB Error: "'.$query->getMessage().'"<br />';
$entry .= 'Offending command was: '.$query.'<br />';
OC_Log::write( 'migration', $entry, OC_Log::FATAL );
return false;