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

remotes/origin/stable5
Thomas Mueller 12 years ago
parent 01cecc9522
commit 408b2cba58
  1. 2
      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;

Loading…
Cancel
Save