Skip to content

Commit

Permalink
Fixed fatal error (ezsystems#1367)
Browse files Browse the repository at this point in the history
`continue` used outside of loop.
  • Loading branch information
omh authored and andrerom committed Jun 28, 2018
1 parent d1ed2aa commit 582e393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update/common/scripts/5.4/fixtrashedimagereferences.php
Expand Up @@ -64,7 +64,7 @@ function fixupTrashedImageXml( $imageAttribute, $optDryRun )
eZCLI::instance()->notice( "Processing image $contentId ($version) ..." );

if ( ( $doc = simplexml_load_string( $imageAttribute['data_text'] ) ) === false )
continue;
return;

$doc['filename'] = '';
$doc['basename'] = '';
Expand Down

0 comments on commit 582e393

Please sign in to comment.