diff options
Diffstat (limited to 'viewcategory.php')
| -rwxr-xr-x | viewcategory.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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()) {  					<b><a href="viewthread.php?id=<?= $thread->id ?>"><?= $thread->subject ?></a></b>
  					<small>on <?= date('M d, Y', strtotime($thread->date_created)); ?></small>
  				</td>
 -				<td><a href="viewuser.php?id=<?= $thread->author->id ?>"><?= $thread->author->name ?></a></td>
 +				<td><a href="viewuser.php?id=<?= $thread->author_id ?>"><?= $thread->get_author()->name ?></a></td>
  <?php $latest_post = $thread->get_latest_post(); if ($latest_post->has_value()): ?>
  				<td>
 -					<small>by <b><a href="viewuser.php?id=<?= $latest_post->author->id ?>"><?= $latest_post->author->name ?></a></b>
 +					<small>by <b><a href="viewuser.php?id=<?= $latest_post->author_id ?>"><?= $latest_post->get_author()->name ?></a></b>
  					on <?= $latest_post->date_created ?></small>
  				</td>
  <?php else: ?>
 | 
