From 5bb574767408217ae9b4741be4ae3a74360c3fae Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 16 Nov 2010 14:06:21 +0000 Subject: [PATCH] Variablise $navigationBar Add a couple of braces --- includes/Pager.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/Pager.php b/includes/Pager.php index 2d8be2328b..3870ef3ad9 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -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( -- 2.20.1