Merge "Perform a permission check on the title when changing the page language"
[lhc/web/wiklou.git] / includes / specials / SpecialRecentchangeslinked.php
index 80ec2b1..e353f0c 100644 (file)
@@ -47,7 +47,7 @@ class SpecialRecentChangesLinked extends SpecialRecentChanges {
        }
 
        /**
-        * @inheritdoc
+        * @inheritDoc
         */
        protected function doMainQuery( $tables, $select, $conds, $query_options,
                $join_conds, FormOptions $opts
@@ -104,7 +104,7 @@ class SpecialRecentChangesLinked extends SpecialRecentChanges {
                        $select[] = 'page_latest';
                }
 
-               $tagFilter = explode( '|', $opts['tagfilter'] );
+               $tagFilter = $opts['tagfilter'] ? explode( '|', $opts['tagfilter'] ) : [];
                ChangeTags::modifyDisplayQuery(
                        $tables,
                        $select,