Fix check of return value from SpecialPageFactory::resolveAlias
authorumherirrender <umherirrender_de.wp@web.de>
Mon, 11 Feb 2013 15:59:30 +0000 (16:59 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 18 Feb 2013 08:50:02 +0000 (08:50 +0000)
commitddc817560cbb2a94fd203310ad617e9ae442d25c
treeb0feb49d1686942a7a16087d6fee0bace6f0d7c8
parent909d61056aec4047a15151013660d38492917b9a
Fix check of return value from SpecialPageFactory::resolveAlias

Calling SpecialPageFactory::resolveAlias with an invalid special page
name, gives an array( null, null ) back, but this part of code checks
explicit against !false, which gives always true. Changed the condition
to use an (implicit) check, like the other places, where
SpecialPageFactory::resolveAlias is called.

Change-Id: I8def9dd88ebfbe9fcf1ba8f9cae9e25039ec77ed
includes/Title.php