aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/frontend.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-10-08 13:29:07 +0200
committerKevin Chabowski <kevin@kch42.de>2011-10-08 13:29:07 +0200
commitd4e09e003ca329acfe61deb59ccd8eaf043acd35 (patch)
treefc95c04862054a2fbc4c2bf0af26820ca170cbd3 /ratatoeskr/frontend.php
parent990b708dff0c9eca3d576a890e962c4dd40226c8 (diff)
downloadratatoeskr-cms-d4e09e003ca329acfe61deb59ccd8eaf043acd35.tar.gz
ratatoeskr-cms-d4e09e003ca329acfe61deb59ccd8eaf043acd35.tar.bz2
ratatoeskr-cms-d4e09e003ca329acfe61deb59ccd8eaf043acd35.zip
Minor bugfixes...
* Corrected a SQL query in models.php. * Passed $lang to *_ste_transform functions in frontend.php.
Diffstat (limited to 'ratatoeskr/frontend.php')
-rw-r--r--ratatoeskr/frontend.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/ratatoeskr/frontend.php b/ratatoeskr/frontend.php
index eff7511..ffb2941 100644
--- a/ratatoeskr/frontend.php
+++ b/ratatoeskr/frontend.php
@@ -668,7 +668,7 @@ function frontend_url_handler(&$data, $url_now, &$url_next)
{
throw new NotFoundError();
}
- $ste->vars["current"]["tag"] = tag_transform_ste($tag);
+ $ste->vars["current"]["tag"] = tag_transform_ste($tag, $lang);
}
else
{
@@ -681,8 +681,8 @@ function frontend_url_handler(&$data, $url_now, &$url_next)
throw new NotFoundError();
}
- if(count($path == 0))
- $ste->vars["current"]["section"] = section_transform_ste($section);
+ if(count($path)== 0)
+ $ste->vars["current"]["section"] = section_transform_ste($section, $lang);
else
{
try
@@ -693,7 +693,7 @@ function frontend_url_handler(&$data, $url_now, &$url_next)
{
throw new NotFoundError();
}
- $ste->vars["current"]["article"] = article_transform_ste($article);
+ $ste->vars["current"]["article"] = article_transform_ste($article, $lang);
if(isset($_GET["comment"]))
{