summaryrefslogtreecommitdiff
path: root/plugins/calendar
diff options
context:
space:
mode:
authorDaniel Hoffend <dh@dotlan.net>2015-02-28 20:25:30 (GMT)
committerDaniel Hoffend <dh@dotlan.net>2015-02-28 20:25:30 (GMT)
commitd91d6f98a7f4c03b55d7283873d935fde0b8d50f (patch)
tree137b5783d1ae0fc8b8b10fb22df77538876d8565 /plugins/calendar
parent16ad0e6215a0b6d72d254fc0680e0a7a777e7745 (diff)
downloadroundcubemail-plugins-kolab-d91d6f98a7f4c03b55d7283873d935fde0b8d50f.tar.gz
fixed wrong rc->user call (php fatal error)
Diffstat (limited to 'plugins/calendar')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_user_calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_user_calendar.php b/plugins/calendar/drivers/kolab/kolab_user_calendar.php
index 3d53206..1f1d7ac 100644
--- a/plugins/calendar/drivers/kolab/kolab_user_calendar.php
+++ b/plugins/calendar/drivers/kolab/kolab_user_calendar.php
@@ -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();
}