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 */ }