Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
attogram committed Feb 1, 2020
1 parent 61e89d2 commit 1a6f881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Topic.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private function listify($index)
if (in_array($index, ['exists', 'missing']) // skip internal-usage vars
|| empty($this->vars[$index]) // Error - index not found, or index empty
) {
return ' ';
return ' ';
}
$html = '<ol>';
foreach ($this->vars[$index] as $item) {
Expand All @@ -321,7 +321,7 @@ private function listify($index)
// template is not loaded, thus possible that secondary-topics not all set
$class = ' class="missing"';
}
$html .= '<li><a href="'
$html .= '<li><a href="'
. $this->template->get('home') . $this->getLink($item) . '"' . $class . '>'
. $item . '</a></li>';
}
Expand Down

0 comments on commit 1a6f881

Please sign in to comment.