From 4fb69f343a58e55efee9592d4b354bf402201ef8 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Thu, 17 Sep 2020 19:32:28 +0200 Subject: [PATCH] minor fix --- .../godmode/agentes/module_manager_editor_common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 4641fcf28c..50bcf4a824 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -528,10 +528,10 @@ $table_advanced->data[0][1] = html_print_input_text( 20, 65, true, - (($config['module_custom_id_ro']) ? true : $disabledBecauseInPolicy), + (($config['module_custom_id_ro'] && $__code_from != 'policies') ? true : $disabledBecauseInPolicy), false, '', - (($config['module_custom_id_ro']) ? 'readonly' : $classdisabledBecauseInPolicy) + (($config['module_custom_id_ro'] && $__code_from != 'policies') ? 'readonly' : $classdisabledBecauseInPolicy) ); $table_advanced->data[0][3] = __('Unit');