Merge "Add .sass-cache to .gitignore"
[lhc/web/wiklou.git] / maintenance / importImages.php
index f6f50f8..54fd4e2 100644 (file)
@@ -248,7 +248,7 @@ if ( $count > 0 ) {
                }
 
                $commentText = SpecialUpload::getInitialPageText( $commentText, $license );
-               if ( !$summary ) {
+               if ( !isset( $options['summary'] ) ) {
                        $summary = $commentText;
                }