X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/14c178039044c79ef0f4f770c869e73e69ff1c07..14140214c823a58aa105edd78960f4d0b2416913:/src/detail.php diff --git a/src/detail.php b/src/detail.php index 6561b8f..b091f8f 100644 --- a/src/detail.php +++ b/src/detail.php @@ -65,7 +65,8 @@ $er = $doc->getErrorReportByID($getUid); $strOldComment = $er->getComment(); // Probably we have to update an error report -if($getAction == "update" and $postSubmit == _c("Change")) +echo "PostSubmit: $postSubmit"; +if($getAction == "update" and $postSubmit == _("Change")) { if($cfgErrors->userIsAdmin()) { $postComment = stripslashes(@$_POST["comment"]); @@ -124,8 +125,8 @@ if($cfgErrors->userIsAdmin()) { "Comment written by:"), erGetRealUserName($er->getCommentOwner())); } } -echo sprintf("