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