From e8497bb80cb13912814e0f6234ef6a8cbbc2517a Mon Sep 17 00:00:00 2001 From: "manuel.montes" Date: Tue, 22 Jan 2019 11:03:52 +0100 Subject: [PATCH] Changed the order of actions Former-commit-id: ec733bfcf1705552f6257dc14c5a34e0a3e84e66 --- pandora_console/godmode/massive/massive_operations.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/massive/massive_operations.php b/pandora_console/godmode/massive/massive_operations.php index 2359482713..cdd26781eb 100755 --- a/pandora_console/godmode/massive/massive_operations.php +++ b/pandora_console/godmode/massive/massive_operations.php @@ -55,9 +55,9 @@ else { } $options_modules = array( - 'delete_modules' => __('Bulk module delete'), 'edit_modules' => __('Bulk module edit'), - 'copy_modules' => __('Bulk module copy')); + 'copy_modules' => __('Bulk module copy'), + 'delete_modules' => __('Bulk module delete')); $options_plugins = array( 'edit_plugins' => __('Bulk plugin edit') @@ -77,7 +77,7 @@ if ($policies_options != ENTERPRISE_NOT_HOOK) { $options_snmp = array(); $snmp_options = enterprise_hook('massive_snmp_options'); - +$snmp_options = array_reverse($snmp_options); if ($snmp_options != ENTERPRISE_NOT_HOOK) { $options_snmp = array_merge($options_snmp, $snmp_options);