X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/6d063224d81913ed422cd47be42ecadf54d4eddc..3794ba5084980f2c3abe9c6a7d2a63c718d79165:/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("