X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPrefixSearch.php;h=55a4f49b34615768066c86ef0664c270b7b8ae53;hb=35d9ad550f2f443455b3b76495d9cebfafdfaf37;hp=2885679c4706cd046622e3ba3863ecc8c1712e83;hpb=72bc1e8cf87ec368227fdae648ab7e5037a55bcf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PrefixSearch.php b/includes/PrefixSearch.php index 2885679c47..55a4f49b34 100644 --- a/includes/PrefixSearch.php +++ b/includes/PrefixSearch.php @@ -155,7 +155,10 @@ abstract class PrefixSearch { } } $srchres = array(); - if ( Hooks::run( 'PrefixSearchBackend', array( $namespaces, $search, $limit, &$srchres, $offset ) ) ) { + if ( Hooks::run( + 'PrefixSearchBackend', + array( $namespaces, $search, $limit, &$srchres, $offset ) + ) ) { return $this->titles( $this->defaultSearchBackend( $namespaces, $search, $limit, $offset ) ); } return $this->strings( $this->handleResultFromHook( $srchres, $namespaces, $search, $limit ) );