X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/f6faefbedad2de5c5d4aa915f5a5f180039c055b..68c9e4f4871634ad66d75ff281e3438c6a867381:/src/index.php diff --git a/src/index.php b/src/index.php index a2a5ece..559fb42 100644 --- a/src/index.php +++ b/src/index.php @@ -98,7 +98,7 @@ if($getAction == "delete" and isset($getUid)) { echo sprintf("
\n", $_SERVER["PHP_SELF"]); // probably we have to insert an error report -if(($getAction == "submit" and $postSubmit == _("Insert"))) +if(($getAction == "submit" and $postSubmit == _c("error-reporter:Submit"))) { // All fields must be filled out if((trim($postMachine) == "") or (trim($postText) == "")) { @@ -165,7 +165,7 @@ echo sprintf("