Merge "Break PreferencesFormOOUI->PermissionManager dependency"
[lhc/web/wiklou.git] / includes / LinkFilter.php
index 7e1b44d..e4a5f96 100644 (file)
@@ -311,6 +311,7 @@ class LinkFilter {
         */
        public static function makeLikeArray( $filterEntry, $protocol = 'http://' ) {
                $db = wfGetDB( DB_REPLICA );
+               $like = [];
 
                $target = $protocol . $filterEntry;
                $bits = wfParseUrl( $target );