From 3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 21 Jun 2021 19:18:35 +0200 Subject: Rename "attr" method of Item class to "get" --- admin/post/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/post/index.php') diff --git a/admin/post/index.php b/admin/post/index.php index e18a634..bb38676 100644 --- a/admin/post/index.php +++ b/admin/post/index.php @@ -34,7 +34,7 @@ $postIDs = $Database->query(sprintf($execSQL, Post\Attribute::TABLE))->fetchAll( foreach($postIDs as $postID) { try { $Post = Post\Factory::build($postID); - $User = User\Factory::build($Post->attr('user')); + $User = User\Factory::build($Post->get('user')); $ItemTemplate = generatePostItemTemplate($Post, $User); -- cgit v1.2.3