diff options
author | Jannik Schönartz | 2017-03-08 14:23:41 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-03-08 14:23:41 +0100 |
commit | 5443dd9bd6106bdfe74eca03f053b76641b7d502 (patch) | |
tree | 38bbf8caace1d0913563b3ca79e0feec6d5a4d5b /modules-available/locationinfo/api.inc.php | |
parent | Merge branch 'location-info-panel' of git.openslx.org:openslx-ng/slx-admin in... (diff) | |
download | slx-admin-5443dd9bd6106bdfe74eca03f053b76641b7d502.tar.gz slx-admin-5443dd9bd6106bdfe74eca03f053b76641b7d502.tar.xz slx-admin-5443dd9bd6106bdfe74eca03f053b76641b7d502.zip |
API: setCredentials without json_encode
Diffstat (limited to 'modules-available/locationinfo/api.inc.php')
-rw-r--r-- | modules-available/locationinfo/api.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/api.inc.php b/modules-available/locationinfo/api.inc.php index 45e48064..31acb157 100644 --- a/modules-available/locationinfo/api.inc.php +++ b/modules-available/locationinfo/api.inc.php @@ -89,7 +89,7 @@ function getCalendar($idList) { $resultarray = array(); foreach ($serverList as $server) { $serverInstance = CourseBackend::getInstance($server['type']); - $serverInstance->setCredentials(json_encode($server['credentials']), $server['serverurl'], $server['serverid']); + $serverInstance->setCredentials($server['credentials'], $server['serverurl'], $server['serverid']); $calendarFromBackend = $serverInstance->fetchSchedule($server['idList']); $formattedArray = array(); foreach ($calendarFromBackend as $key => $value) { |