Do not try to list a process that is not ACTIVE
This commit is contained in:
@@ -88,6 +88,7 @@ $limit = '';
|
||||
$tempTreeChild ['tas_uid'] = $processInfoChild ['uid'];
|
||||
$processInfoChild ['myInbox']=0;
|
||||
$processInfoChild ['totalInbox']=0;
|
||||
if(isset($proData[ $processInfoChild ['pro_uid'] ])){
|
||||
$tempTreeChild ['otherAttributes'] = array_merge($processInfoChild,$proData[ $processInfoChild ['pro_uid'] ],$calendar->getCalendarFor ( $processInfoChild ['uid'], $processInfoChild ['uid'], $processInfoChild ['uid'] ));
|
||||
$tempTreeChild ['otherAttributes']['PRO_TAS_TITLE']=str_replace(")","",str_replace("(","",trim(str_replace($tempTreeChild ['otherAttributes']['PRO_TITLE'],"",$tempTreeChild ['otherAttributes']["value"]))));
|
||||
$tempTreeChild ['qtip']=$tempTreeChild ['otherAttributes']['PRO_DESCRIPTION'];
|
||||
@@ -95,6 +96,7 @@ $limit = '';
|
||||
//$tempTree['cls']='file';
|
||||
|
||||
$tempTreeChildren [] = $tempTreeChild;
|
||||
}
|
||||
}
|
||||
|
||||
$tempTree['children']=$tempTreeChildren;
|
||||
|
||||
Reference in New Issue
Block a user