places: fix fileId type (fix #1008)
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/1010/head
parent
ecc05f5d2b
commit
d909eb198f
|
@ -401,7 +401,7 @@ class Places
|
||||||
++$count;
|
++$count;
|
||||||
|
|
||||||
// Only proceed if we have a valid location
|
// Only proceed if we have a valid location
|
||||||
$fileid = $row['fileid'];
|
$fileid = (int) $row['fileid'];
|
||||||
$lat = (float) $row['lat'];
|
$lat = (float) $row['lat'];
|
||||||
$lon = (float) $row['lon'];
|
$lon = (float) $row['lon'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue