diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index d6218d9843..3b2d928179 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -267,7 +267,9 @@ if ($get_module_detail) { html_print_table($table); } - metaconsole_restore_db(); + if (defined ('METACONSOLE')) + metaconsole_restore_db(); + return; }