aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/post/main.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-21 19:18:35 +0200
committerThomas Lange <code@nerdmind.de>2021-06-21 19:18:35 +0200
commit3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7 (patch)
tree9d3ba9fcb9162963e26edbb7bda0709aaf2c8a41 /core/include/post/main.php
parentec424df850d6e5acc85d49ebd67703cf11f5a8d4 (diff)
downloadblog-3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7.tar.gz
blog-3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7.tar.xz
blog-3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7.zip
Rename "attr" method of Item class to "get"
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);