Fix typo
authorArlo Breault <abreault@wikimedia.org>
Sun, 24 Jan 2016 18:14:04 +0000 (10:14 -0800)
committerArlo Breault <abreault@wikimedia.org>
Sun, 24 Jan 2016 18:14:04 +0000 (10:14 -0800)
Change-Id: Ifcea7b157dd1c22f45d03627c8bb0d42da548f79

includes/gallery/ImageGalleryBase.php

index 9ea9702..f26d688 100644 (file)
@@ -91,8 +91,8 @@ abstract class ImageGalleryBase extends ContextSource {
                        $context = RequestContext::getMainAndWarn( __METHOD__ );
                }
                if ( !$mode ) {
-                       $galleryOpions = $context->getConfig()->get( 'GalleryOptions' );
-                       $mode = $galleryOpions['mode'];
+                       $galleryOptions = $context->getConfig()->get( 'GalleryOptions' );
+                       $mode = $galleryOptions['mode'];
                }
 
                $mode = $wgContLang->lc( $mode );