diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-06-13 13:14:44 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-06-13 13:14:44 +0000 |
| commit | cdba520d92857e679e6cbc6486bd16b0217d8daf (patch) | |
| tree | cce3bd96dd3a9ae9b133703e709dd0ee07d41737 /lib/ilias_interface | |
| parent | 0fa2c1411fb33c79265848e6941189cf2ad7c74d (diff) | |
fix incorrect usage of implode parameters, fixes #2729
Closes #2729
Merge request studip/studip!1847
Diffstat (limited to 'lib/ilias_interface')
| -rw-r--r-- | lib/ilias_interface/IliasSoap.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ilias_interface/IliasSoap.class.php b/lib/ilias_interface/IliasSoap.class.php index 231b8e9..e140a9f 100644 --- a/lib/ilias_interface/IliasSoap.class.php +++ b/lib/ilias_interface/IliasSoap.class.php @@ -111,7 +111,7 @@ class IliasSoap extends StudipSoapClient return false; } - $cache_index = md5($method . ':' . implode($params, '-')); + $cache_index = md5($method . ':' . implode('-', $params)); if ($this->caching_active && isset($this->soap_cache[$cache_index]) && $method !== 'login') { $result = $this->soap_cache[$cache_index]; } else { @@ -1128,7 +1128,7 @@ class IliasSoap extends StudipSoapClient } if (is_array($path)) { - return implode($path, $this->separator_string); + return implode($this->separator_string, $path); } else { return false; } @@ -1160,7 +1160,7 @@ class IliasSoap extends StudipSoapClient } if (is_array($path)) { - return implode($path, '_'); + return implode('_', $path); } else { return false; } |
