Index: trunk/phase3/skins/Vector.php |
— | — | @@ -274,7 +274,7 @@ |
275 | 275 | } |
276 | 276 | // Render portals |
277 | 277 | foreach ( $portals as $name => $content ) { |
278 | | - if ( $cont === false ) |
| 278 | + if ( $content === false ) |
279 | 279 | continue; |
280 | 280 | |
281 | 281 | echo "\n<!-- {$name} -->\n"; |
Index: trunk/phase3/skins/MonoBook.php |
— | — | @@ -180,7 +180,7 @@ |
181 | 181 | if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true; |
182 | 182 | |
183 | 183 | foreach ($sidebar as $boxName => $cont) { |
184 | | - if ( $cont === false ) |
| 184 | + if ( $content === false ) |
185 | 185 | continue; |
186 | 186 | |
187 | 187 | if ( $boxName == 'SEARCH' ) { |