BUG 6943 Disappeared the menu information and cannot delete a output document

This issue was fixed. it does not get the correct array and it does not use the  method remove
This commit is contained in:
Carlos Pacha
2011-06-02 17:31:43 -04:00
parent 7347cee46b
commit 3a77d8edd0

View File

@@ -3972,7 +3972,7 @@ class Cases {
} }
$aFields['POSITION'] = $_SESSION['STEP_POSITION']; $aFields['POSITION'] = $_SESSION['STEP_POSITION'];
$aFields['CONFIRM'] = G::LoadTranslation('ID_CONFIRM_DELETE_ELEMENT'); $aFields['CONFIRM'] = G::LoadTranslation('ID_CONFIRM_DELETE_ELEMENT');
if (in_array($aRow['APP_DOC_UID'], $aDelete['OUTPUT_DOCUMENTS'])) { if (in_array($aRow['APP_DOC_UID'], $aObjectPermissions['OUTPUT_DOCUMENTS'])) {
$aFields['ID_DELETE'] = G::LoadTranslation('ID_DELETE'); $aFields['ID_DELETE'] = G::LoadTranslation('ID_DELETE');
} }