| @@ -33,9 +33,9 @@ | ||
| 33 | 33 | public function duplicate(): void |
| 34 | 34 | { |
| 35 | 35 | wp_verify_nonce(acym_getVar('cmd', '_wpnonce'), 'acymnonce') || die('Invalid Token'); |
| 36 | 36 | |
| 37 | - $automations = acym_getVar('int', 'elements_checked'); | |
| 37 | + $automations = acym_getVar('array', 'elements_checked', []); | |
| 38 | 38 | |
| 39 | 39 | if (empty($automations)) { |
| 40 | 40 | $this->listing(); |
| 41 | 41 | |