summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/php/controls/UrlBasedCalendarControl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/php/controls/UrlBasedCalendarControl.php b/app/php/controls/UrlBasedCalendarControl.php
index 1f737e8..336417b 100644
--- a/app/php/controls/UrlBasedCalendarControl.php
+++ b/app/php/controls/UrlBasedCalendarControl.php
@@ -9,7 +9,7 @@ class UrlBasedCalendarControl extends FacadeTemplateControl {
if ($url) {
$calendar = $this->getFacade()->resolveUrl($url);
if ($calendar) {
- $this->setViewState('Calendar', $calendar);
+ $this->setControlState('Calendar', $calendar);
return;
}
}
@@ -17,7 +17,7 @@ class UrlBasedCalendarControl extends FacadeTemplateControl {
}
public function getCalendar() {
- return $this->getViewState('Calendar');
+ return $this->getControlState('Calendar');
}
}