1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-08 14:36:05 +01:00
openstamanager/plugins/sedi/init.php

11 lines
255 B
PHP
Raw Normal View History

<?php
include_once __DIR__.'/../../core.php';
if (isset($id_record)) {
2018-07-18 15:20:10 +02:00
$record = $dbo->fetchOne('SELECT * FROM an_sedi WHERE id='.prepare($id_record));
2018-07-18 15:20:10 +02:00
$record['lat'] = floatval($record['lat']);
$record['lng'] = floatval($record['lng']);
}