Browse Source

fixing undefined variable $result - should be $query I assume

tags/v5.0.0alpha1
Thomas Mueller 11 years ago
parent
commit
408b2cba58
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/migration/content.php

+ 1
- 1
lib/migration/content.php View File

@@ -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;

Loading…
Cancel
Save