Skip to content

Commit

Permalink
Fall back to first listed section
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Hörrmann <[email protected]>
  • Loading branch information
nilshoerrmann committed Jun 9, 2017
1 parent b0f355c commit 96972e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extension.driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ public function __construct() {
else if(isset($members_section_id) && in_array((int)$members_section_id, $config_sections)) {
$this->setMembersSection($members_section_id);
}
else {
$this->setMembersSection($config_sections[0]);
}
}

extension_Members::$initialised = true;
Expand Down

0 comments on commit 96972e1

Please sign in to comment.