From 65c5e0e4b3830c7a2420948239a9c65c76f6026c Mon Sep 17 00:00:00 2001 From: Tony Lambregts Date: Wed, 21 Sep 2005 01:26:10 +0000 Subject: [PATCH] Fix bug in the rejection of versions that was only sending the maintainers the url to the requeued application if there was a rejection reason given. Add url to requeued application to rejected applications. --- include/application.php | 1 + include/version.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/application.php b/include/application.php index 9319cab..bcd10e6 100644 --- a/include/application.php +++ b/include/application.php @@ -398,6 +398,7 @@ class Application { break; case "reject": $sSubject = $this->sName." has been rejected by ".$_SESSION['current']->sRealname; + $sMsg .= APPDB_ROOT."admin/resubmitRejectedApps.php?sub=view&appId=".$this->iAppId."\n"; /* if replyText is set we should report the reason the application was rejected */ if($_REQUEST['replyText']) diff --git a/include/version.php b/include/version.php index dd9b146..9263472 100644 --- a/include/version.php +++ b/include/version.php @@ -471,12 +471,11 @@ class Version { break; case "reject": $sSubject = "Version '".$this->sName."' of '".$oApp->sName."' has been rejected by ".$_SESSION['current']->sRealname; + $sMsg .= APPDB_ROOT."admin/resubmitRejectedApps.php?sub=view&versionId=".$this->iVersionId."\n"; /* if replyText is set we should report the reason the application was rejected */ if($_REQUEST['replyText']) { - $sMsg = APPDB_ROOT."admin/resubmitRejectedApps.php?versionId=".$this->iVersionId."\n"; - $sMsg .= "Reason given:\n"; $sMsg .= $_REQUEST['replyText']."\n"; /* append the reply text, if there is any */ }