Skip to content

Commit

Permalink
Correct lat/lng min bug
Browse files Browse the repository at this point in the history
  • Loading branch information
qigezhao committed Oct 25, 2017
1 parent 9f5f01f commit 870d92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/data/app.log.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function exec($type = 1)

// in case min = 0; bug fix @ 2017.10.11
if ($map['lat']['min'] == 0) $map['lat']['min'] = $lat;
if ($map['lat']['max'] == 0) $map['lat']['max'] = $lat;
if ($map['lng']['min'] == 0) $map['lng']['min'] = $lng;

// save point
$point = array(
Expand Down

0 comments on commit 870d92b

Please sign in to comment.