From: Alexandre Emsenhuber Date: Wed, 21 Sep 2011 09:11:26 +0000 (+0000) Subject: Don't use isset() to check for null X-Git-Tag: 1.31.0-rc.0~27503 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=b29f8545d72db0877086dfe360bae8603df0e0da;p=lhc%2Fweb%2Fwiklou.git Don't use isset() to check for null --- diff --git a/skins/Vector.php b/skins/Vector.php index be1404f380..9b09ca35d2 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -288,7 +288,7 @@ class VectorTemplate extends BaseTemplate { } private function renderPortal( $name, $content, $msg = null, $hook = null ) { - if ( !isset( $msg ) ) { + if ( $msg === null ) { $msg = $name; } ?> @@ -304,7 +304,7 @@ class VectorTemplate extends BaseTemplate {