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:
@@ -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'] : '');
|
||||
|
Reference in New Issue
Block a user