HOR-123
This commit is contained in:
@@ -152,11 +152,13 @@ class NotificationDevice
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$response = array();
|
$response = array();
|
||||||
|
$typeList = 'todo';
|
||||||
foreach ($aTasks as $aTask) {
|
foreach ($aTasks as $aTask) {
|
||||||
$arrayTaskUser = array();
|
$arrayTaskUser = array();
|
||||||
switch ($aTask["TAS_ASSIGN_TYPE"]) {
|
switch ($aTask["TAS_ASSIGN_TYPE"]) {
|
||||||
case "SELF_SERVICE":
|
case "SELF_SERVICE":
|
||||||
$arrayTaskUser = $this->getTaskUserSelfService($aTask["TAS_UID"], $appFields);
|
$arrayTaskUser = $this->getTaskUserSelfService($aTask["TAS_UID"], $appFields);
|
||||||
|
$typeList = 'unassigned';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (isset($aTask["USR_UID"]) && !empty($aTask["USR_UID"])) {
|
if (isset($aTask["USR_UID"]) && !empty($aTask["USR_UID"])) {
|
||||||
@@ -181,7 +183,7 @@ class NotificationDevice
|
|||||||
'caseId' => $appFields['APP_UID'],
|
'caseId' => $appFields['APP_UID'],
|
||||||
'caseTitle' => $appFields['APP_TITLE'],
|
'caseTitle' => $appFields['APP_TITLE'],
|
||||||
'delIndex' => $delIndex,
|
'delIndex' => $delIndex,
|
||||||
'typeList' => 'todo'
|
'typeList' => $typeList
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($userIds) {
|
if ($userIds) {
|
||||||
|
|||||||
Reference in New Issue
Block a user