Variablise $navigationBar
authorSam Reed <reedy@users.mediawiki.org>
Tue, 16 Nov 2010 14:06:21 +0000 (14:06 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 16 Nov 2010 14:06:21 +0000 (14:06 +0000)
Add a couple of braces

includes/Pager.php

index 2d8be23..3870ef3 100644 (file)
@@ -937,7 +937,9 @@ abstract class TablePager extends IndexPager {
        function getNavigationBar() {
                global $wgStylePath, $wgContLang;
 
-               if ( !$this->isNavigationBarShown() ) return '';
+               if ( !$this->isNavigationBarShown() ) {
+                       return '';
+               }
 
                $path = "$wgStylePath/common/images";
                $labels = array(