Fixed problems when filter maps and not have data, show firts task of networkmaps. Tiquet: #2531
This commit is contained in:
parent
6fa1e8e869
commit
a9c6900852
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue