From 723697c4c7428cc1d3d9b7372d8c2285cdbdc9e4 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Thu, 29 Jan 2015 21:08:44 +0100 Subject: [PATCH] Minor fix --- pandora_console/include/ajax/module.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }