From: umherirrender Date: Sun, 5 Oct 2014 17:08:15 +0000 (+0200) Subject: Undefined variable: attrs in HistoryAction.php on line 202 X-Git-Tag: 1.31.0-rc.0~13684 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=2682eb00aa37dc9ca203bd300d05424435b00cec;p=lhc%2Fweb%2Fwiklou.git Undefined variable: attrs in HistoryAction.php on line 202 Replaced by an array() and removed an unused variable near by. Follow-Up: I61bb3c358f755ed9f2153d94b744c1a9da02c456 Change-Id: I5c4dc22e1e9346bfc410a9dda4353d5297a5825e --- diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index dd0c94c710..3be8aff907 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -181,7 +181,6 @@ class HistoryAction extends FormlessAction { // Add the general form $action = htmlspecialchars( wfScript() ); - $className = 'historysubmit mw-history-compareselectedversions-button'; $out->addHTML( "
" . Xml::fieldset( @@ -199,7 +198,7 @@ class HistoryAction extends FormlessAction { $checkDeleted . Html::submitButton( $this->msg( 'allpagessubmit' )->text(), - $attrs, + array(), array( 'mw-ui-progressive' ) ) . "\n" . '
'