BUG 6910 "Error al pasar a otra ventana con una alerta en mail" solved

- a validation was missing, bug fixed
This commit is contained in:
Erik Amaru Ortiz
2011-06-30 14:59:40 -04:00
parent ad5c2a152f
commit 0e896f4763
2 changed files with 100 additions and 86 deletions

View File

@@ -111,7 +111,11 @@ try {
$oUser = new Users();
$aUser = $oUser->load($_SESSION['USER_LOGGED']);
$sFromName = '"' . $aUser['USR_FIRSTNAME'] . ' ' . $aUser['USR_LASTNAME'] . '"';
$oCase->sendNotifications($_SESSION['TASK'], $_POST['form']['TASKS'], $appFields['APP_DATA'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $sFromName);
try {
$oCase->sendNotifications($_SESSION['TASK'], $_POST['form']['TASKS'], $appFields['APP_DATA'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $sFromName);
} catch(Exception $e){
G::SendTemporalMessage(G::loadTranslation('ID_NOTIFICATION_ERROR').' - '. $e->getMessage(), 'warning', 'string', null, '100%');
}
// Send notifications - End
// Events - Start