diff options
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php index 64cf29fd..7d05b037 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php @@ -39,11 +39,11 @@ class Coursebackend_Dummy extends CourseBackend { $calarray = array(); $calarray[] = $calendar; $x['calendar'] = $calarray; - $a[] = $x; + $a[$id] = $calarray; } - return json_encode($a, true); + return $a; } } |