dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9ffbe65
)
Variablise $navigationBar
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 16 Nov 2010 14:06:21 +0000
(14:06 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Tue, 16 Nov 2010 14:06:21 +0000
(14:06 +0000)
Add a couple of braces
includes/Pager.php
patch
|
blob
|
history
diff --git
a/includes/Pager.php
b/includes/Pager.php
index
2d8be23
..
3870ef3
100644
(file)
--- a/
includes/Pager.php
+++ b/
includes/Pager.php
@@
-937,7
+937,9
@@
abstract class TablePager extends IndexPager {
function getNavigationBar() {
global $wgStylePath, $wgContLang;
function getNavigationBar() {
global $wgStylePath, $wgContLang;
- if ( !$this->isNavigationBarShown() ) return '';
+ if ( !$this->isNavigationBarShown() ) {
+ return '';
+ }
$path = "$wgStylePath/common/images";
$labels = array(
$path = "$wgStylePath/common/images";
$labels = array(