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
274 B
PHP

<?php
include_once __DIR__.'/../../core.php';
if (isset($id_record)) {
$records = $dbo->fetchArray('SELECT * FROM an_sedi WHERE id='.prepare($id_record));
$records[0]['lat'] = floatval($records[0]['lat']);
$records[0]['lng'] = floatval($records[0]['lng']);
}