Skip to content

Commit

Permalink
Update Section.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeping-owl authored Jun 5, 2017
1 parent 4ad896a commit 0f835dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ public function addPages(array $pages)
$section->addPages($page['children']);
}
} else {
$this->addPage(new Page($page));
$newPage = new Page($page)
$this->addPage($newPage);
}
}

Expand Down

0 comments on commit 0f835dc

Please sign in to comment.