From 679af3b3f0970e226cd6a2dc7b279133b28d242c Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Wed, 21 Mar 2012 18:39:08 +0000 Subject: [PATCH] 2012-03-21 Juan Manuel Ramon * godmode/agentes/module_manager_editor_common.php: Added global var to avoid php warning. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ .../godmode/agentes/module_manager_editor_common.php | 1 + 2 files changed, 6 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 582adc34d5..6b934ffbc7 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-03-21 Juan Manuel Ramon + + * godmode/agentes/module_manager_editor_common.php: Added global var + to avoid php warning. + 2012-03-21 Juan Manuel Ramon * operation/events/events_list.php: Toggle arrow control changes diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 1575fdab61..daeaa6b076 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -251,6 +251,7 @@ $table_advanced->data[4][0] = __('Export target'); $none_text = __('None'); $disabled_export = false; // If code comes from policies disable export select +global $__code_from; if ($__code_from == 'policies'){ $none_text = __('Not needed'); $disabled_export = true;