summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrojaro <>2010-04-26 10:49:45 +0000
committerrojaro <>2010-04-26 10:49:45 +0000
commit666c814c9a291695630b8fae28e05f40e3573845 (patch)
treedd2bb820b09481b859dd84b8457f4b033bddc2cd
parent3819d4c15ae06b02014af3b280d6b8a811eaba70 (diff)
-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)