Fix sending mail to people that don't want them

This commit is contained in:
Jonathan Ernst
2005-02-01 01:58:09 +00:00
committed by WineHQ
parent f4540923ac
commit 1200dca8d7
2 changed files with 2 additions and 2 deletions

View File

@@ -344,7 +344,7 @@ function get_notify_email_address_list($appId, $versionId = 0)
while(list($index, list($userIdValue)) = each($aUserId))
{
$oUser = new User($userIdValue);
if ($oUser->getPref("send_email"))
if ($oUser->getPref("send_email")=="yes")
$retval .= $oUser->sEmail." ";
}
}