From: umherirrender Date: Sun, 28 Feb 2016 11:54:14 +0000 (+0100) Subject: Fix case of id on EditPage for label X-Git-Tag: 1.31.0-rc.0~7801^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=efd69e2e80446c005cd0ff6c36eaa3f24f51864c;p=lhc%2Fweb%2Fwiklou.git Fix case of id on EditPage for label Avoids validation error: The for attribute of the label element must refer to a non-hidden form control. Change-Id: I9501fda9ca1dbff3db530f5d9e0c2504b94b0ff3 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index b5d0a7b017..c6636e4d19 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2540,7 +2540,7 @@ class EditPage { Xml::openElement( 'div', [ 'id' => 'antispam-container', 'style' => 'display: none;' ] ) . Html::rawElement( 'label', - [ 'for' => 'wpAntiSpam' ], + [ 'for' => 'wpAntispam' ], wfMessage( 'simpleantispam-label' )->parse() ) . Xml::element(