From: Aryeh Gregor Date: Wed, 11 Jun 2008 21:34:03 +0000 (+0000) Subject: I think every string that evaluates to boolean false will be unaffected by this code... X-Git-Tag: 1.31.0-rc.0~47042 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=e15ca24825ac70de87235b892c3ac9aec461f53b;p=lhc%2Fweb%2Fwiklou.git I think every string that evaluates to boolean false will be unaffected by this code block anyway (can't capitalize numbers), but we want a strict check here anyway. --- diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 68aeb1f139..951c2228e4 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -32,7 +32,7 @@ class CategoryPager extends AlphabeticPager { function __construct( $from ) { parent::__construct(); $from = str_replace( ' ', '_', $from ); - if( $from != '' ) { + if( $from !== '' ) { global $wgCapitalLinks, $wgContLang; if( $wgCapitalLinks ) { $from = $wgContLang->ucfirst( $from );