if ($arrMySplit[1] > 1) { // edited field values $strValue = ''; $nMax = sizeof($arrMySplit); for ($nIndex = 3; $nIndex < $nMax; $nIndex = $nIndex + 2) { $strValue .= $arrMySplit[$nIndex] . '---'; } } } $nInputfieldID = $arrRow["nFieldId"]; $bIsEnabled = 1; if (!($arrSlot["nID"] == $arrCirculationProcess["nSlotId"] && $arrCirculationProcess["nDecissionState"] == 0 && !$bReadOnly)) { //--- Slot is not allowed to edit $bIsEnabled = 0; } $strEcho = $objMyCirculation->getCheckBoxGroup($nInputfieldID, $strValue, $bIsEnabled, $keyId, $nRunningCounter); echo $strEcho; } elseif ($arrRow["nType"] == 8) { if ($arrValues[$keyId]["strFieldValue"] != '') { // standard values $strValue = $arrValues[$keyId]["strFieldValue"]; $arrMySplit = split('---', $strValue); if ($arrMySplit[1] > 1) { // edited field values $strValue = ''; $nMax = sizeof($arrMySplit); for ($nIndex = 3; $nIndex < $nMax; $nIndex = $nIndex + 2) { $strValue .= $arrMySplit[$nIndex] . '---'; } } }