1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 05:31:58 +02:00

ID clash, IDs should be unique - solved by removing one of them.

In no HTML version is or has it ever been allowed to use the same ID more than once. ID made unique as intended.
This commit is contained in:
Axeia 2013-09-26 16:11:41 +02:00
parent a38cf55506
commit 80f0a16a87

@ -261,7 +261,7 @@ class comment
$indent = ($action == 'reply') ? " class='offset1' " : "";
$formid = ($action == 'reply') ? "e-comment-form-reply" : "e-comment-form";
$text = "\n<div id='{$formid}' {$indent}>\n".e107::getMessage()->render('postcomment', true, false, false);//temporary here
$text = "\n<div{$indent}>\n".e107::getMessage()->render('postcomment', true, false, false);//temporary here
// $text .= "Indent = ".$indent;
$text .= "<form id='{$formid}' method='post' action='".str_replace('http:', '', $_SERVER['REQUEST_URI'])."' >";