summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Services/TPageService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php
index 7bd9373a..2ed8e759 100644
--- a/framework/Web/Services/TPageService.php
+++ b/framework/Web/Services/TPageService.php
@@ -509,7 +509,7 @@ class TPageService extends TService implements IPageEvents
$hasClassFile=is_file($path.Prado::CLASS_FILE_EXT);
if(!$hasTemplateFile && !$hasClassFile) {
- $param = TPageNotFoundEventParameter($pagePath);
+ $param = new TPageNotFoundEventParameter($pagePath);
if(!$this->BlockOnPageNotFoundEvent && $doOnPageNotFound)
$this->raiseEvent('onPageNotFound', $this, $param);
if(!$param->FoundPage)