Fix mail were sent without the name of application or version when a new application or version was added

This commit is contained in:
Jonathan Ernst
2005-02-11 01:36:24 +00:00
committed by WineHQ
parent 137545d438
commit 30f8514840
2 changed files with 2 additions and 2 deletions

View File

@@ -138,8 +138,8 @@ class Version {
if(query_appdb("INSERT INTO appVersion $sFields VALUES $sValues", "Error while creating a new version."))
{
$this->iVersionId = mysql_insert_id();
$this->mailMaintainers();
$this->version($this->iVersionId);
$this->mailMaintainers();
return true;
}
else