aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/page/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/page/main.php')
-rw-r--r--core/include/page/main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/page/main.php b/core/include/page/main.php
index 32a2ec4..01ef40d 100644
--- a/core/include/page/main.php
+++ b/core/include/page/main.php
@@ -17,7 +17,7 @@ try {
$Page = Page\Factory::build($param);
}
- $User = User\Factory::build($Page->attr('user'));
+ $User = User\Factory::build($Page->get('user'));
$page_data = generateItemTemplateData($Page);
$user_data = generateItemTemplateData($User);