diff options
author | Simon Rettberg | 2022-05-23 14:41:33 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-23 14:41:33 +0200 |
commit | 9122ed1bdee76f0ef37fb5996d25656083b7a4a6 (patch) | |
tree | 0edbe18e60d0f4ad44d711ddf147b25928293f11 /modules-available/locationinfo/api.inc.php | |
parent | [rebootcontrol] Force type of ByRef param to array (diff) | |
download | slx-admin-9122ed1bdee76f0ef37fb5996d25656083b7a4a6.tar.gz slx-admin-9122ed1bdee76f0ef37fb5996d25656083b7a4a6.tar.xz slx-admin-9122ed1bdee76f0ef37fb5996d25656083b7a4a6.zip |
[locationinfo] Add types
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 e1c35525..2fbf1e84 100644 --- a/modules-available/locationinfo/api.inc.php +++ b/modules-available/locationinfo/api.inc.php @@ -178,7 +178,7 @@ function getCalendar($idList) foreach ($dbquery as $dbresult) { if (!isset($serverList[$dbresult['serverid']])) { $serverList[$dbresult['serverid']] = array( - 'credentials' => json_decode($dbresult['credentials'], true), + 'credentials' => (array)json_decode($dbresult['credentials'], true), 'type' => $dbresult['servertype'], 'idlist' => array() ); |