From 17139f2c42bdea239a2cd70231d09e4146b6d992 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 29 Jun 2011 18:40:08 +0000 Subject: [PATCH] Fix for r91081, I think he meant $content, not $cont. --- skins/MonoBook.php | 2 +- skins/Vector.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 3e97af1249..31ad190d2b 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -180,7 +180,7 @@ echo $footerEnd; if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true; foreach ($sidebar as $boxName => $cont) { - if ( $cont === false ) + if ( $content === false ) continue; if ( $boxName == 'SEARCH' ) { diff --git a/skins/Vector.php b/skins/Vector.php index 167a3ecfcd..8f25d9966a 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -274,7 +274,7 @@ class VectorTemplate extends BaseTemplate { } // Render portals foreach ( $portals as $name => $content ) { - if ( $cont === false ) + if ( $content === false ) continue; echo "\n\n"; -- 2.20.1