Changeset 7655 for trunk/workflow/inc/class.ui_orgchart.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.ui_orgchart.inc.php
r3255 r7655 152 152 153 153 $ldap = &Factory::getInstance('WorkflowLDAP'); 154 for ($i = 0; $i < count($output); $i++)154 for ($i = 0; $i < count($output); ++$i) 155 155 { 156 for ($j = 0; $j < $result->_numOfFields; $j++)156 for ($j = 0; $j < $result->_numOfFields; ++$j) 157 157 unset($output[$i][$j]); 158 158 if ($output[$i]['titular_funcionario_id'] != '') … … 162 162 $supervisorArray = explode(' ', $supervisor); 163 163 $supervisorName = ''; 164 for ($j = 0; $j < count($supervisorArray); $j++)164 for ($j = 0; $j < count($supervisorArray); ++$j) 165 165 $supervisorName .= (($j == 0) || ($j == count($supervisorArray) - 1)) ? $supervisorArray[$j] . ' ' : $supervisorArray[$j][0] . '. '; 166 166 $supervisorName = trim(str_replace("Junior", "Jr", $supervisorName));
Note: See TracChangeset
for help on using the changeset viewer.