Skip to content

Commit

Permalink
Update pagebreak.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ReLater committed Apr 19, 2018
1 parent 0109323 commit 673ceb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/content/pagebreak/pagebreak.php
Expand Up @@ -271,7 +271,7 @@ protected function _createToc(&$row, &$matches, &$page)

// TOC first Page link.
$list[1] = new stdClass;
$list[1]->liClass = ($limitstart === 0 && $showall === 0) ? 'toclink active' : 'toclink';;
$list[1]->liClass = ($limitstart === 0 && $showall === 0) ? 'toclink active' : 'toclink';
$list[1]->class = $list[1]->liClass;
$list[1]->link = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catid, $row->language) . '&showall=&limitstart=');
$list[1]->title = $heading;
Expand Down

0 comments on commit 673ceb0

Please sign in to comment.