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 --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 0c8409c..9545e43 100755 --- a/index.php +++ b/index.php @@ -23,7 +23,7 @@ subject ?>
- by author->name ?>, date_created ?> + by get_author()->name ?>, date_created ?> No threads yet! @@ -44,10 +44,10 @@ subject ?> on date_created)); ?> - category->name ?> + get_parent_category()->name ?> get_latest_post(); if ($latest_post->has_value()): ?> - by author->name ?> + by get_author()->name ?> on date_created ?> -- cgit v1.2.3