From e15ca24825ac70de87235b892c3ac9aec461f53b Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 11 Jun 2008 21:34:03 +0000 Subject: [PATCH] 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. --- includes/SpecialCategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1