Skip to content

Commit

Permalink
Bug fix in the latest update
Browse files Browse the repository at this point in the history
  • Loading branch information
davidherney committed Aug 15, 2024
1 parent de3f082 commit 556a931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class menu {
*
* @param int $currentsection The current section number
*/
public function __construct(int $currentsection) {
public function __construct(int $currentsection = null) {
$this->menuitems = [];

$this->currentsection = $currentsection;
Expand Down

0 comments on commit 556a931

Please sign in to comment.