Skip to content

Commit cfb8ac9

Browse files
committed
fix mislabled variables in readme
1 parent f2c9478 commit cfb8ac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if ($session->get('jgeo_position_status', false)) {
2020
var_dump($position);
2121
2222
// access the object data
23-
$lat = $location->latitude;
24-
$lng = $location->longitude;
23+
$lat = $position->latitude;
24+
$lng = $position->longitude;
2525
}
2626
2727
```

0 commit comments

Comments
 (0)