From f88c2b4ce1d6716c543fcadf7880e7ac5714fac3 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 29 Jun 2015 10:43:03 +0200 Subject: [PATCH] Only charge firts task when is console and not metaconsole --- pandora_console/godmode/tag/tag.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/tag/tag.php b/pandora_console/godmode/tag/tag.php index 8d2525f060..9cc6122df0 100644 --- a/pandora_console/godmode/tag/tag.php +++ b/pandora_console/godmode/tag/tag.php @@ -243,8 +243,10 @@ if (!empty($result)) { html_print_table ($table); } else{ - require_once ($config['homedir'] . "/general/firts_task/tags.php"); - return; + if(!defined("METACONSOLE")){ + require_once ($config['homedir'] . "/general/firts_task/tags.php"); + return; + } } echo ""; echo "";