2013-11-22 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/ajax.php: fixed the get size of icons for the public gis map. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9114 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d9ef4b5be5
commit
70dc4efd08
|
@ -1,3 +1,8 @@
|
|||
2013-11-22 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/gis_maps/ajax.php: fixed the get size of icons for
|
||||
the public gis map.
|
||||
|
||||
2013-11-21 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_events.php: Fix the combo of user to assign an
|
||||
|
|
|
@ -182,7 +182,12 @@ switch ($opt) {
|
|||
$row['nombre'] = '';
|
||||
|
||||
$icon = gis_get_agent_icon_map($row['tagente_id_agente'], true, $status);
|
||||
$icon_size = getimagesize($icon);
|
||||
if ($icon[0] !== '/') {
|
||||
$icon_size = getimagesize($config['homedir'] . "/" . $icon);
|
||||
}
|
||||
else {
|
||||
$icon_size = getimagesize($config['homedir'] . $icon);
|
||||
}
|
||||
$icon_width = $icon_size[0];
|
||||
$icon_height = $icon_size[1];
|
||||
|
||||
|
|
Loading…
Reference in New Issue