summaryrefslogtreecommitdiff
path: root/app/php/controls/UrlBasedCalendarControl.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/controls/UrlBasedCalendarControl.php')
-rw-r--r--app/php/controls/UrlBasedCalendarControl.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/php/controls/UrlBasedCalendarControl.php b/app/php/controls/UrlBasedCalendarControl.php
index c61bc37..a5be82e 100644
--- a/app/php/controls/UrlBasedCalendarControl.php
+++ b/app/php/controls/UrlBasedCalendarControl.php
@@ -14,7 +14,10 @@ class UrlBasedCalendarControl extends FacadeTemplateControl {
}
}
if ($this->getRaiseException()) {
- throw new THttpException(404, 'Page not found');
+ throw new THttpException(
+ 404,
+ Prado::localize('Page not found')
+ );
} else {
$this->Visible = FALSE;
}