fixing variable rename error

This commit is contained in:
Alexander Vassilevski 2021-02-21 18:51:52 -08:00
parent 2766f1e18b
commit e098b4e7a3

View File

@ -125,7 +125,7 @@ class UserHooks {
curl_close($ch); curl_close($ch);
$xml = simplexml_load_string($result); $xml = simplexml_load_string($result);
$code = $xml->status->code; $code = $xml->status->code;
if ($code == 200) return $this->createImapFolders($newuser); if ($code == 200) return $this->createImapFolders($user_data);
else $this->logger->warning( else $this->logger->warning(
"Error: non-200 status: " . $xml->status->text); "Error: non-200 status: " . $xml->status->text);
return false; return false;