diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 67a7afb86a..a00e79cb5f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2009-08-26 Miguel de Dios + + * operation/extensions.php, godmode/extensions.php: fix hidden bug that show + a warning when try to show the extension that not is of operation or the + other. And add feature can load invible (in menu) extensions. + 2009-08-26 Miguel de Dios * include/functions_extensions.php: add the small description in the diff --git a/pandora_console/godmode/extensions.php b/pandora_console/godmode/extensions.php index 72e2d843eb..91a14a89b9 100644 --- a/pandora_console/godmode/extensions.php +++ b/pandora_console/godmode/extensions.php @@ -37,6 +37,8 @@ $table->data = array (); foreach ($config['extensions'] as $extension) { if ($extension['godmode_function'] == '') continue; + if ($extension['godmode_menu'] == null) + continue; $data = array (); $data[0] = ''.$extension['godmode_menu']['name'].''; diff --git a/pandora_console/operation/extensions.php b/pandora_console/operation/extensions.php index b52e09e69f..dc5124e6c8 100644 --- a/pandora_console/operation/extensions.php +++ b/pandora_console/operation/extensions.php @@ -36,6 +36,9 @@ $table->data = array (); foreach ($config['extensions'] as $extension) { if ($extension['main_function'] == '') continue; + if ($extension['operation_menu'] == null) + continue; + $data = array (); $data[0] = ''.$extension['operation_menu']['name']; array_push ($table->data, $data);