Do not try to list a process that is not ACTIVE

This commit is contained in:
Hugo Loza
2011-01-19 14:49:44 +00:00
parent b2eeb1ade2
commit 742e1ad99d

View File

@@ -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;