Fixed warnings and some icons are not shown correctly with php7.2.

This commit is contained in:
Junichi Satoh 2018-05-22 20:18:49 +09:00
parent 58370449dd
commit cb10d6d4a4
2 changed files with 3 additions and 3 deletions

View File

@ -391,7 +391,7 @@ if ($id_agente) {
$grouptab['active'] = false;
$gistab = "";
$gistab = array();
/* GIS tab */
if ($config['activate_gis']) {

View File

@ -1060,7 +1060,7 @@ else {
$tab = get_parameter ("tab", "main");
/* Manage tab */
$managetab = "";
$managetab = array();
if (check_acl_one_of_groups ($config['id_user'],$all_groups, "AW") || $is_extra) {
$managetab['text'] ='<a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'">'
@ -1141,7 +1141,7 @@ if ($url_route_analyzer) {
}
/* GIS tab */
$gistab="";
$gistab=array();
if ($config['activate_gis']) {
$gistab['text'] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=gis&id_agente='.$id_agente.'">'
.html_print_image("images/op_gis.png", true, array( "title" => __('GIS data')))