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.
This commit is contained in:
@@ -398,6 +398,7 @@ class Application {
|
|||||||
break;
|
break;
|
||||||
case "reject":
|
case "reject":
|
||||||
$sSubject = $this->sName." has been rejected by ".$_SESSION['current']->sRealname;
|
$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 replyText is set we should report the reason the application was rejected */
|
||||||
if($_REQUEST['replyText'])
|
if($_REQUEST['replyText'])
|
||||||
|
|||||||
@@ -471,12 +471,11 @@ class Version {
|
|||||||
break;
|
break;
|
||||||
case "reject":
|
case "reject":
|
||||||
$sSubject = "Version '".$this->sName."' of '".$oApp->sName."' has been rejected by ".$_SESSION['current']->sRealname;
|
$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 replyText is set we should report the reason the application was rejected */
|
||||||
if($_REQUEST['replyText'])
|
if($_REQUEST['replyText'])
|
||||||
{
|
{
|
||||||
$sMsg = APPDB_ROOT."admin/resubmitRejectedApps.php?versionId=".$this->iVersionId."\n";
|
|
||||||
|
|
||||||
$sMsg .= "Reason given:\n";
|
$sMsg .= "Reason given:\n";
|
||||||
$sMsg .= $_REQUEST['replyText']."\n"; /* append the reply text, if there is any */
|
$sMsg .= $_REQUEST['replyText']."\n"; /* append the reply text, if there is any */
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user