| @@ -48,9 +48,9 @@ | ||
| 48 | 48 | |
| 49 | 49 | public function delete(): void |
| 50 | 50 | { |
| 51 | 51 | $fieldClass = new FieldClass(); |
| 52 | - $ids = acym_getVar('cmd', 'elements_checked'); | |
| 52 | + $ids = acym_getVar('array', 'elements_checked', []); | |
| 53 | 53 | if (in_array('1', $ids) || in_array('2', $ids) || in_array($fieldClass->getLanguageFieldId(), $ids)) { |
| 54 | 54 | acym_enqueueMessage(acym_translation('ACYM_CANT_DELETE'), 'error'); |
| 55 | 55 | $this->listing(); |
| 56 | 56 | } else { |