diff options
-rw-r--r-- | ratatoeskr/frontend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/frontend.php b/ratatoeskr/frontend.php index 6c0dfcc..4b01fa0 100644 --- a/ratatoeskr/frontend.php +++ b/ratatoeskr/frontend.php @@ -803,7 +803,7 @@ function frontend_url_handler(&$data, $url_now, &$url_next) $ste->vars["current"]["page"] = (isset($_GET["page"]) and is_numeric($_GET["page"])) ? $_GET["page"] : 1; if(!isset($section)) - $section = $default_section; + $section = Section::by_id($ratatoeskr_settings["default_section"]); foreach($section->get_styles() as $style) { |