From 0b69ffd38b545fe7e027c2111b1a7c412b1cdd92 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 11 Jan 2012 22:34:19 +0100 Subject: Fixed an error in the frontend. Since $default_section was removed, this had to be fixed. --- ratatoeskr/frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-70-g09d2