From: Tim Starling Date: Fri, 9 Apr 2004 15:22:18 +0000 (+0000) Subject: Fixed notice X-Git-Tag: 1.3.0beta1~517 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=191621407fb76b052a6084ec662a391b7a76530c;p=lhc%2Fweb%2Fwiklou.git Fixed notice --- diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 795c661144..3a1b38eae2 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -449,7 +449,7 @@ class PreferencesForm { # $wgOut->addHTML("
"); foreach ( $togs as $tname => $ttext ) { - if( !$this->mUsedToggles[$tname] ) { + if( !array_key_exists( $tname, $this->mUsedToggles ) ) { $wgOut->addHTML( $this->getToggle( $tname ) ); } }