diff --git a/lib/Hooks/UserHooks.php b/lib/Hooks/UserHooks.php index 5c250e1..49bfd88 100644 --- a/lib/Hooks/UserHooks.php +++ b/lib/Hooks/UserHooks.php @@ -125,7 +125,7 @@ class UserHooks { curl_close($ch); $xml = simplexml_load_string($result); $code = $xml->status->code; - if ($code == 200) return $this->createImapFolders($newuser); + if ($code == 200) return $this->createImapFolders($user_data); else $this->logger->warning( "Error: non-200 status: " . $xml->status->text); return false;