diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-12-27 01:36:09 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-12-27 01:36:09 +0100 |
commit | cf2a4a79eb8344ab1c3303d4bdbb80c91d94925b (patch) | |
tree | 3ff7e96d9ce85686e1a365a40dbcb684d2e0a93d /ratatoeskr/frontend.php | |
parent | cb172742c78517baf6a79b52f980b0b9dcb81274 (diff) | |
download | ratatoeskr-cms-cf2a4a79eb8344ab1c3303d4bdbb80c91d94925b.tar.gz ratatoeskr-cms-cf2a4a79eb8344ab1c3303d4bdbb80c91d94925b.tar.bz2 ratatoeskr-cms-cf2a4a79eb8344ab1c3303d4bdbb80c91d94925b.zip |
Section's Styles are nowonlyavailable by a getter.
Also fixed many MySQL Queries. These SELECT ... WHERE foo = (SELECT...)
have not worked as expected, so now there are many ugly joins...
Diffstat (limited to 'ratatoeskr/frontend.php')
-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 f022958..92197f5 100644 --- a/ratatoeskr/frontend.php +++ b/ratatoeskr/frontend.php @@ -783,7 +783,7 @@ function frontend_url_handler(&$data, $url_now, &$url_next) if(!isset($section)) $section = $default_section; - foreach($section->styles as $style) + foreach($section->get_styles() as $style) $ste->vars["current"]["styles"][] = $style->name; echo $ste->exectemplate("/usertemplates/" . $section->template); } |