Revize c6b00989
Přidáno uživatelem Ondřej Fibich před téměř 6 roky(ů)
application/controllers/devices.php | ||
---|---|---|
|
||
$gps = '';
|
||
|
||
if (!empty($device->address_point->gps))
|
||
if ($device->address_point->gps != NULL)
|
||
{
|
||
$gps_result = $device->address_point->get_gps_coordinates();
|
||
|
||
... | ... | |
$view->title = __('Device').' '.$device->name;
|
||
$view->breadcrumbs = $breadcrumbs->html();
|
||
$view->action_logs = action_logs::object_last_modif($device, $device_id);
|
||
$view->mapycz_enabled = TRUE;
|
||
$view->content = new View('devices/show');
|
||
$view->content->device = $device;
|
||
$view->content->device_type = $device_type;
|
||
... | ... | |
$gpsx = '';
|
||
$gpsy = '';
|
||
|
||
if (!empty($device->address_point->gps))
|
||
if ($device->address_point->gps != NULL)
|
||
{
|
||
$gps_result = $device->address_point->get_gps_coordinates();
|
||
|
Také k dispozici: Unified diff
Fixes #1105: map support fixes [develop]