Undefined variable: attrs in HistoryAction.php on line 202
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 5 Oct 2014 17:08:15 +0000 (19:08 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sun, 5 Oct 2014 17:08:15 +0000 (19:08 +0200)
Replaced by an array() and removed an unused variable near by.

Follow-Up: I61bb3c358f755ed9f2153d94b744c1a9da02c456
Change-Id: I5c4dc22e1e9346bfc410a9dda4353d5297a5825e

includes/actions/HistoryAction.php

index dd0c94c..3be8aff 100644 (file)
@@ -181,7 +181,6 @@ class HistoryAction extends FormlessAction {
 
                // Add the general form
                $action = htmlspecialchars( wfScript() );
-               $className = 'historysubmit mw-history-compareselectedversions-button';
                $out->addHTML(
                        "<form action=\"$action\" method=\"get\" id=\"mw-history-searchform\">" .
                        Xml::fieldset(
@@ -199,7 +198,7 @@ class HistoryAction extends FormlessAction {
                        $checkDeleted .
                        Html::submitButton(
                                $this->msg( 'allpagessubmit' )->text(),
-                               $attrs,
+                               array(),
                                array( 'mw-ui-progressive' )
                        ) . "\n" .
                        '</fieldset></form>'