fixed wrong rc->user call (php fatal error)

This commit is contained in:
Daniel Hoffend 2015-02-28 21:25:30 +01:00
parent 16ad0e6215
commit d91d6f98a7

View file

@ -283,7 +283,7 @@ class kolab_user_calendar extends kolab_calendar
// authentication required
if ($response->getStatus() == 401) {
$request->setAuth($this->rc->user->get_username(), $this->rc->decrypt($_SESSION['password']));
$request->setAuth($this->cal->rc->user->get_username(), $this->cal->rc->decrypt($_SESSION['password']));
$response = $request->send();
}