aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/frontend.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-11 22:34:19 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-11 22:34:19 +0100
commit0b69ffd38b545fe7e027c2111b1a7c412b1cdd92 (patch)
tree858ad77b73a432a792422bd47a25cf3357f310c2 /ratatoeskr/frontend.php
parent696f81365ca5530b2ccebff191369e2750e45de5 (diff)
downloadratatoeskr-cms-0b69ffd38b545fe7e027c2111b1a7c412b1cdd92.tar.gz
ratatoeskr-cms-0b69ffd38b545fe7e027c2111b1a7c412b1cdd92.tar.bz2
ratatoeskr-cms-0b69ffd38b545fe7e027c2111b1a7c412b1cdd92.zip
Fixed an error in the frontend.
Since $default_section was removed, this had to be fixed.
Diffstat (limited to 'ratatoeskr/frontend.php')
-rw-r--r--ratatoeskr/frontend.php2
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)
{