require_once("sec/secure.inc");
require_once("js.inc");
+db_user("errorreporter");
+
PageBlue(_c("error-reporter:Change an error report"), "mod_error-reporter");
if(!$cfgErrors->userHasAccess()) {
$strOldComment = $er->getComment();
// Probably we have to update an error report
-if($getAction == "update" and $postSubmit == _c("Change"))
+if($getAction == "update" and $postSubmit == _("Change"))
{
if($cfgErrors->userIsAdmin()) {
$postComment = stripslashes(@$_POST["comment"]);
"Comment written by:"), erGetRealUserName($er->getCommentOwner()));
}
}
-echo sprintf("<tr><td /><td><{$GLOBALS["smlbtn"]} value='%s' /></td></tr>\n",
- _("Change"));
+echo sprintf("<tr><td /><td><{$GLOBALS["smlbtn"]} name='submit' value='%s' ".
+ "/></td></tr>\n", _("Change"));
echo "</table></form><p />\n";
_PageBlue();
?>