PM-3822: Error al asignar una variable a la propiedad del proceso Variable for Case priority

Se valido tambien para el listado de participated
This commit is contained in:
marcelo.cuiza
2015-10-21 10:11:29 -04:00
parent 40b8e786eb
commit 4beb189edb
2 changed files with 2 additions and 2 deletions

View File

@@ -509,7 +509,7 @@ class ListInbox extends BaseListInbox
$aPriorities = array ('1' => 'VL','2' => 'L','3' => 'N','4' => 'H','5' => 'VH');
while ($dataset->next()) {
$aRow = (is_null($callbackRecord))? $dataset->getRow() : $callbackRecord($dataset->getRow());
$aRow['DEL_PRIORITY'] = (isset($aRow['DEL_PRIORITY']) && is_numeric($aRow['DEL_PRIORITY']) && $aRow['DEL_PRIORITY'] <= 5 && $aRow['DEL_PRIORITY'] > 0 ) ? $aRow['DEL_PRIORITY'] : 3;
$aRow['DEL_PRIORITY'] = G::LoadTranslation( "ID_PRIORITY_{$aPriorities[$aRow['DEL_PRIORITY']]}" );
$data[] = $aRow;
}