From: Chad Horohoe Date: Wed, 29 Jun 2011 18:40:08 +0000 (+0000) Subject: Fix for r91081, I think he meant $content, not $cont. X-Git-Tag: 1.31.0-rc.0~29189 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=17139f2c42bdea239a2cd70231d09e4146b6d992;p=lhc%2Fweb%2Fwiklou.git Fix for r91081, I think he meant $content, not $cont. --- 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";