From de3a1ec3e0e012f6e4a8a1c44f57b9db3fbd415b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 25 Dec 2004 06:16:38 +0000 Subject: [PATCH] r28: Added links to bug report after performing an action. --- editcomment.php | 2 +- editreport.php | 8 +++++--- newreport.php | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/editcomment.php b/editcomment.php index 5596c73..4e9239c 100644 --- a/editcomment.php +++ b/editcomment.php @@ -84,7 +84,7 @@ if ($_POST['do'] == 'update') WHERE commentid = $vars[commentid]" ); - echo 'comment saved'; + echo "comment saved"; } // ################################################################### diff --git a/editreport.php b/editreport.php index b4536b1..077bb52 100644 --- a/editreport.php +++ b/editreport.php @@ -78,12 +78,14 @@ if ($_POST['do'] == 'update') WHERE bugid = $bug[bugid]" ); - echo 'done with update bug'; - if ($vars['changeproduct']) { $_REQUEST['do'] = 'editproduct'; } + else + { + echo "done with update bug"; + } } // ################################################################### @@ -189,7 +191,7 @@ if ($_POST['do'] == 'updateproduct') // good-to-go $DB_sql->query("UPDATE " . TABLE_PREFIX . "bug SET productid = $vars[product], componentid = $vars[component], versionid = $vars[version] WHERE bugid = $bug[bugid]"); - echo 'changed product info'; + echo "changed product info"; } // ################################################################### diff --git a/newreport.php b/newreport.php index 4f30d54..2935b00 100755 --- a/newreport.php +++ b/newreport.php @@ -171,7 +171,7 @@ if ($_POST['do'] == 'insert') $DB_sql->query("UPDATE " . TABLE_PREFIX . "bug SET dateline = $time, initialreport = $initialreport, lastposttime = $time, lastpostby = " . $bugsys->userinfo['userid'] . " WHERE bugid = $bugid"); - echo 'bug is done!'; + echo "bug is done!"; } // ################################################################### -- 2.22.5