projects
/
iserv-mod-error-reporter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
14c1780
)
fixed broken comment function: Change button had no name
author
Roland Hieber
<devnull@localhost>
Fri, 23 Oct 2009 00:21:52 +0000
(
02:21
+0200)
committer
Roland Hieber
<devnull@localhost>
Fri, 23 Oct 2009 00:21:52 +0000
(
02:21
+0200)
src/detail.php
patch
|
blob
|
history
diff --git
a/src/detail.php
b/src/detail.php
index
6561b8f
..
b091f8f
100644
(file)
--- 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
$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"]);
{
if($cfgErrors->userIsAdmin()) {
$postComment = stripslashes(@$_POST["comment"]);
@@
-124,8
+125,8
@@
if($cfgErrors->userIsAdmin()) {
"Comment written by:"), erGetRealUserName($er->getCommentOwner()));
}
}
"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();
?>
echo "</table></form><p />\n";
_PageBlue();
?>
This page took
0.027911 seconds
and
4
git commands to generate.