revert r106095, fix apparently not this simple
[lhc/web/wiklou.git] / includes / specials / SpecialLinkSearch.php
index 6ef3807..d3ab2f0 100644 (file)
@@ -55,6 +55,7 @@ class LinkSearchPage extends QueryPage {
                $target = $request->getVal( 'target', $par );
                $namespace = $request->getIntorNull( 'namespace', null );
 
+               $protocols_list = array();
                foreach( $wgUrlProtocols as $prot ) {
                        if ( $prot !== '//' ) {
                                $protocols_list[] = $prot;