PrefixSearch: Avoid passing non-strings to Title::newFromText()
authorChad Horohoe <chadh@wikimedia.org>
Thu, 3 Sep 2015 05:55:49 +0000 (22:55 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Thu, 3 Sep 2015 05:57:09 +0000 (22:57 -0700)
commit337b1e2ecd0a199d482fab9cdc5bd09723e05910
tree5a64668989daa273f5434556c1667671bf66393d
parent9c67015bd8dde985f85bd59a2b12f47b0c6821d5
PrefixSearch: Avoid passing non-strings to Title::newFromText()

We already handle the invalid title gracefully here anyway, so
just rely on that behavior and just skip the Title construction
bit :)

Bug: T109975
Change-Id: I0dc3d91b6b4cfb97664aa6ca39c5c8f086d70db5
includes/PrefixSearch.php