Index: trunk/phase3/skins/Vector.php |
— | — | @@ -288,7 +288,7 @@ |
289 | 289 | } |
290 | 290 | |
291 | 291 | private function renderPortal( $name, $content, $msg = null, $hook = null ) { |
292 | | - if ( !isset( $msg ) ) { |
| 292 | + if ( $msg === null ) { |
293 | 293 | $msg = $name; |
294 | 294 | } |
295 | 295 | ?> |
— | — | @@ -304,7 +304,7 @@ |
305 | 305 | |
306 | 306 | <?php |
307 | 307 | endforeach; |
308 | | - if ( isset( $hook ) ) { |
| 308 | + if ( $hook !== null ) { |
309 | 309 | wfRunHooks( $hook, array( &$this ) ); |
310 | 310 | } |
311 | 311 | ?> |