Skip to content

Commit

Permalink
Fixed PHP warning
Browse files Browse the repository at this point in the history
  • Loading branch information
eSilverStrike committed May 16, 2022
1 parent edd85bf commit 609b597
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion system/classes/article.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1929,7 +1929,9 @@ public function DisplayElements($item = 'title')
break;

case 'topic':
$return = htmlspecialchars($this->_topic);
if (!empty($this->_topic)) {
$return = htmlspecialchars($this->_topic);
}

break;

Expand Down

0 comments on commit 609b597

Please sign in to comment.