1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

All Unit tests passing locally.

This commit is contained in:
Cameron
2021-03-31 12:11:23 -07:00
parent 05df416dbd
commit 2904f1e792
2 changed files with 4 additions and 4 deletions

View File

@@ -78,13 +78,13 @@ class list_comment
$category = '';
if(vartrue($this->parent->settings['category']))
{
if($row['comment_category_url'])
if(!empty($row['comment_category_url']))
{
$record['category'] = "<a href='".$row['comment_category_url']."'>".$row['comment_category_heading']."</a>";
}
else
{
$record['category'] = $row['comment_category_heading'];
$record['category'] = varset($row['comment_category_heading']);
}
}
$record['author'] = (vartrue($this->parent->settings['author']) ? $row['comment_author'] : '');