X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPrefixSearch.php;h=55a4f49b34615768066c86ef0664c270b7b8ae53;hb=b3f9120af5fc883b38d5e7b55368ff61c2bbdd09;hp=2885679c4706cd046622e3ba3863ecc8c1712e83;hpb=dd8c1e2dd3feb9c5c6bd79d2a8a3356666792d0c;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 ) );