Skip to content

Commit

Permalink
[TASK] remove deprecated (in HTML5) attribute 'name' on anchor Tags
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenJuergens committed May 18, 2017
1 parent 3895280 commit 4d64fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/View/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ protected function fillErrorMarkers(&$errors)
$errorMessage = $this->utilityFuncs->wrap($errorMessage, $this->settings['singleErrorTemplate.'], 'totalWrap');
$clearErrorMessage = $errorMessage;
if ($this->settings['addErrorAnchors']) {
$errorMessage = '<a name="' . $field . '-' . $this->globals->getRandomID() . '">' . $errorMessage . '</a>';
$errorMessage = '<a id="' . $field . '-' . $this->globals->getRandomID() . '">' . $errorMessage . '</a>';
}
$langMarkers = $this->utilityFuncs->getFilledLangMarkers($errorMessage, $this->langFiles);
$errorMessage = $this->cObj->substituteMarkerArray($errorMessage, $langMarkers);
Expand Down

0 comments on commit 4d64fad

Please sign in to comment.