From c91a25d9cb79d6213240818bc841624d9177beff Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Tue, 13 Jun 2023 12:53:06 +0200 Subject: [PATCH] #11343 Fix api created modules --- pandora_console/include/api.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/api.php b/pandora_console/include/api.php index c0ee23e172..6d0ef0ea2a 100644 --- a/pandora_console/include/api.php +++ b/pandora_console/include/api.php @@ -203,9 +203,9 @@ if ($correctLogin === true) { } break; - case 'create_network_module': + // case 'create_network_module': case 'create_plugin_module': - case 'create_data_module': + // case 'create_data_module': case 'create_synthetic_module': case 'create_snmp_module': case 'delete_module': @@ -320,6 +320,7 @@ if ($correctLogin === true) { break; default: + return false; // Ignore. break; }