Index: trunk/extensions/GlobalBlocking/SpecialGlobalBlockList.php |
— | — | @@ -105,7 +105,10 @@ |
106 | 106 | } |
107 | 107 | |
108 | 108 | function loadParameters( $ip ) { |
109 | | - $this->mSearchIP = Block::normaliseRange( trim( $ip ) ); |
| 109 | + $ip = trim( $ip ); |
| 110 | + $this->mSearchIP = ( $ip !== '' ) |
| 111 | + ? Block::normaliseRange( $ip ) |
| 112 | + : ''; |
110 | 113 | } |
111 | 114 | } |
112 | 115 | |