Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.3.1
-
None
-
MOODLE_23_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
Description
I found that in Moodle 2.3, with strict PHP, there were some errors that prevented the cron process from completing and finding the locations of users.
I was able to fix this by modifying the code as follows...
/block/online_users_map/lib.php, lines 73-77 |
if (isset($xml->geoname->lat)){
|
$boumc = new stdClass();
|
$boumc->userid = $user->id;
|
$boumc->lat = floatval($xml->geoname->lat);
|
$boumc->lng = floatval($xml->geoname->lng);
|
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-34868 Update Google Maps API V2 key setting description
-
- Closed
-