- the user was told his screenshot was accepted when it was rejected altough the message title was correct

- the name of original submitter was not quoted in the mail after a screenshot has been unqueued because of a wrong table field selection
This commit is contained in:
Jonathan Ernst
2005-02-05 21:49:39 +00:00
committed by WineHQ
parent 354c988fe2
commit 1f6ba40638

View File

@@ -63,8 +63,8 @@ class Screenshot {
$this->iAppId = $oRow->appId; $this->iAppId = $oRow->appId;
$this->iVersionId = $oRow->versionId; $this->iVersionId = $oRow->versionId;
$this->sUrl = $oRow->url; $this->sUrl = $oRow->url;
if(!$this->iSubmitterId && $oRow->queueuserid) if(!$this->iSubmitterId && $oRow->userId)
$this->iSubmitterId = $oRow->queueuserid; $this->iSubmitterId = $oRow->userId;
} }
} }
} }
@@ -259,7 +259,7 @@ class Screenshot {
} else } else
{ {
$sSubject = "Submitted screenshot rejected"; $sSubject = "Submitted screenshot rejected";
$sMsg = "The screenshot you submitted for ".lookup_app_name($this->appId)." ".lookup_version_name($this->versionId)." has been accepted."; $sMsg = "The screenshot you submitted for ".lookup_app_name($this->appId)." ".lookup_version_name($this->versionId)." has been rejected.";
} }
$sMsg .= $_REQUEST['replyText']."\n"; $sMsg .= $_REQUEST['replyText']."\n";
$sMsg .= "We appreciate your help in making the Application Database better for all users."; $sMsg .= "We appreciate your help in making the Application Database better for all users.";