BUG-12724 Issue with the task nottification

Descripcion: When you change the task name the task notification es disabled.

Solucion: It was resolved getting the value of the Task Notification and if it don´t  have any value assigned it will be assined FALSE value (disabled).
The issue with the Assigment tab was resolved and it's related with the http://bugs.processmaker.com/view.php?id=12467.
It was resolved for PM 2.5.2
This commit is contained in:
Omar Suca
2013-08-19 10:51:38 -04:00
parent eeaf9a1b93
commit 6eda4cc246

View File

@@ -46,7 +46,8 @@ try {
if (isset( $aData['SEND_EMAIL'] )) {
$aData['TAS_SEND_LAST_EMAIL'] = $aData['SEND_EMAIL'] == 'TRUE' ? 'TRUE' : 'FALSE';
} else {
$aData['TAS_SEND_LAST_EMAIL'] = 'FALSE';
$aTaskInfo = $oTask->load($aData['TAS_UID']);
$aData['TAS_SEND_LAST_EMAIL'] = is_null($aTaskInfo['TAS_SEND_LAST_EMAIL']) ? 'FALSE' : $aTaskInfo['TAS_SEND_LAST_EMAIL'];
}
//Additional configuration