summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/api.inc.php
diff options
context:
space:
mode:
authorJannik Schönartz2017-03-20 17:14:57 +0100
committerJannik Schönartz2017-03-20 17:14:57 +0100
commit257249684bdb7ba36bf2e146a5fb70a366c4a301 (patch)
treecf53979351dd0cdaa6d8bed3a4ab32075f126067 /modules-available/locationinfo/api.inc.php
parentLocationinfo: admin-panel: Fixed a Bug where a space in a credentialname caus... (diff)
downloadslx-admin-257249684bdb7ba36bf2e146a5fb70a366c4a301.tar.gz
slx-admin-257249684bdb7ba36bf2e146a5fb70a366c4a301.tar.xz
slx-admin-257249684bdb7ba36bf2e146a5fb70a366c4a301.zip
API: Fixed a Bug where every server iteration the result array was initialized.
Diffstat (limited to 'modules-available/locationinfo/api.inc.php')
-rw-r--r--modules-available/locationinfo/api.inc.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules-available/locationinfo/api.inc.php b/modules-available/locationinfo/api.inc.php
index ca87c7e4..7ad83067 100644
--- a/modules-available/locationinfo/api.inc.php
+++ b/modules-available/locationinfo/api.inc.php
@@ -346,7 +346,6 @@ function getChildsRecursive($id, &$filteredIdList)
// ########## <Calendar> ###########
function getCalendar($idList)
{
-
$serverList = array();
if (!empty($idList)) {
@@ -380,7 +379,6 @@ function getCalendar($idList)
}
$formattedArray = array();
- $resultarray = array();
if ($calendarFromBackend === false || $setCred === false) {
$error['timestamp'] = time();
$error['error'] = $serverInstance->getError();