diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php index ebf2a387f..d31b4553b 100644 --- a/views/bootstrap/class.UsrMgr.php +++ b/views/bootstrap/class.UsrMgr.php @@ -107,8 +107,6 @@ $(document).ready( function() { echo "".getMLText('documents_with_notification')."".count($dnot)."\n"; $fnot = $seluser->getNotifications(T_FOLDER); echo "".getMLText('folders_with_notification')."".count($fnot)."\n"; - $workflows = $seluser->getWorkflowsInvolved(); - echo "".getMLText('workflows_involded')."".count($workflows)."\n"; if($workflowmode == "traditional") { $reviewStatus = $seluser->getReviewStatus(); @@ -135,6 +133,8 @@ $(document).ready( function() { } } if($workflowmode == 'advanced') { + $workflows = $seluser->getWorkflowsInvolved(); + echo "".getMLText('workflows_involded')."".count($workflows)."\n"; $workflowStatus = $seluser->getWorkflowStatus(); if($workflowStatus['u']) echo "".getMLText('pending_workflows')."".count($workflowStatus['u'])."\n";