Skip to content

Commit

Permalink
Merge pull request #2742 from oe1tkt/patch-1
Browse files Browse the repository at this point in the history
[#33055] Update pagebreak.php;  If pagebreak added to article a Notice: Undefined property: stdClass::$toc in pagebreak.php is created
  • Loading branch information
infograf768 committed Jan 7, 2014
2 parents 2f045b0 + b075c3e commit b7ba81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/content/pagebreak/pagebreak.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ protected function _createTOC(&$row, &$matches, &$page)
$showall = $input->getInt('showall', 0);

// TOC header.
$row->toc .= '<div class="pull-right article-index">';
$row->toc = '<div class="pull-right article-index">';

if ($this->params->get('article_index') == 1)
{
Expand Down

0 comments on commit b7ba81f

Please sign in to comment.