Fixed problems when filter maps and not have data, show firts task of networkmaps. Tiquet: #2531

This commit is contained in:
m-lopez-f 2015-07-28 15:45:27 +02:00
parent 6fa1e8e869
commit a9c6900852
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ if ($type_search != '0')
$user_info = users_get_user_by_id($config['id_user']); $user_info = users_get_user_by_id($config['id_user']);
$network_maps = db_get_all_rows_filter('tnetwork_map', $where); $network_maps = db_get_all_rows_filter('tnetwork_map', $where);
$count_maps = db_get_all_rows_filter('tnetwork_map');
if ($network_maps === false) { if ($count_maps === false) {
require($config['homedir']."/general/firts_task/network_map.php"); require($config['homedir']."/general/firts_task/network_map.php");
} }
else { else {