From 2458ca6964401c0bd2cd809d303dfbcaea3ead90 Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Wed, 11 Aug 2021 15:14:18 -0600 Subject: Add getters for nested objects --- viewcategory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'viewcategory.php') diff --git a/viewcategory.php b/viewcategory.php index acca740..486dde7 100755 --- a/viewcategory.php +++ b/viewcategory.php @@ -40,10 +40,10 @@ if (!$current->has_value()) { subject ?> on date_created)); ?> - author->name ?> + get_author()->name ?> get_latest_post(); if ($latest_post->has_value()): ?> - by author->name ?> + by get_author()->name ?> on date_created ?> -- cgit v1.2.3