diff options
| author | André Noack <noack@data-quest.de> | 2024-02-28 08:30:33 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-02-28 08:30:33 +0000 |
| commit | e7f1909cda2b80149d02e43bb3bf1b32a794cfed (patch) | |
| tree | 2f670c45a20c70fbeaf1acb3e937c7a24386ea25 /lib | |
| parent | 00240896a694caeb2a8447d1ef83b09e3182c271 (diff) | |
Resolve #3765 "Ilias Schnittstelle: Probleme beim Anlegen der Nutzer Kategorie mit Ilias 8"
Closes #3765
Merge request studip/studip!2640
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ilias_interface/ConnectedIlias.class.php | 2 | ||||
| -rw-r--r-- | lib/ilias_interface/IliasSoap.class.php | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/ilias_interface/ConnectedIlias.class.php b/lib/ilias_interface/ConnectedIlias.class.php index 09e1507..5b9c1bf 100644 --- a/lib/ilias_interface/ConnectedIlias.class.php +++ b/lib/ilias_interface/ConnectedIlias.class.php @@ -503,7 +503,7 @@ class ConnectedIlias */ public function newUserCategory() { - if (!$this->user->studip_login) { + if (!$this->user->isConnected()) { return false; } $this->soap_client->setCachingStatus(false); diff --git a/lib/ilias_interface/IliasSoap.class.php b/lib/ilias_interface/IliasSoap.class.php index 37d7c62..f9ffcca 100644 --- a/lib/ilias_interface/IliasSoap.class.php +++ b/lib/ilias_interface/IliasSoap.class.php @@ -727,7 +727,7 @@ class IliasSoap extends StudipSoapClient $xml = "<!DOCTYPE Objects SYSTEM \"http://www.ilias.uni-koeln.de/download/dtd/ilias_object_0_1.dtd\"> <Objects> - <Object type=\"$type\"> + <Object type=\"$type\" obj_id=\"\"> <Title> $title </Title> @@ -768,7 +768,7 @@ class IliasSoap extends StudipSoapClient $xml = "<!DOCTYPE Objects SYSTEM \"http://www.ilias.uni-koeln.de/download/dtd/ilias_object_0_1.dtd\"> <Objects> - <Object type=\"$type\"> + <Object type=\"$type\" obj_id=\"\"> <Title> $title </Title> @@ -1652,7 +1652,8 @@ class IliasSoap extends StudipSoapClient { $param = [ 'sid' => $this->getSID(), - 'reference_id' => $id + 'reference_id' => $id, + 'user_id' => 0 ]; $result = $this->call('getObjectByReference', $param); |
