Only charge firts task when is console and not metaconsole

This commit is contained in:
m-lopez-f 2015-06-29 10:43:03 +02:00
parent 1b4ae0d26e
commit f88c2b4ce1
1 changed files with 4 additions and 2 deletions

View File

@ -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 "<table border=0 cellpadding=0 cellspacing=0 width=100%>";
echo "<tr>";