BUG 4986 Email notification is not working
- The line was added by refered RobinHoo1973 which no caused any problems and works properly
This commit is contained in:
@@ -1678,7 +1678,12 @@ class wsBase
|
||||
|
||||
$oUser = new Users();
|
||||
$aUser = $oUser->load($userId);
|
||||
$sFromName = '"' . $aUser['USR_FIRSTNAME'] . ' ' . $aUser['USR_LASTNAME'] . '"';
|
||||
|
||||
if (trim($aUser['USR_EMAIL'])=='') {
|
||||
$aUser['USR_EMAIL'] = 'info@'.$_SERVER['HTTP_HOST'];
|
||||
}
|
||||
|
||||
$sFromName = '"' . $aUser['USR_FIRSTNAME'] . ' ' . $aUser['USR_LASTNAME'] . '" <'.$aUser['USR_EMAIL'].'>';
|
||||
$oCase->sendNotifications($appdel['TAS_UID'], $nextDelegations, $appFields['APP_DATA'], $caseId, $delIndex, $sFromName);
|
||||
|
||||
//Save data - Start
|
||||
|
||||
Reference in New Issue
Block a user