Skip to content
Snippets Groups Projects
Commit 408b2cba authored by Thomas Müller's avatar Thomas Müller
Browse files

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

parent 01cecc95
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment