aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-11 15:47:44 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-11 15:47:44 +0100
commit696f81365ca5530b2ccebff191369e2750e45de5 (patch)
treea3b0a05bd43fd967ed342089dc19f19133ce200e
parent795d7745e890474b8870130dde0a4f9792562a16 (diff)
downloadratatoeskr-cms-696f81365ca5530b2ccebff191369e2750e45de5.tar.gz
ratatoeskr-cms-696f81365ca5530b2ccebff191369e2750e45de5.tar.bz2
ratatoeskr-cms-696f81365ca5530b2ccebff191369e2750e45de5.zip
Fixed article_transform_ste.
-rw-r--r--ratatoeskr/frontend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/frontend.php b/ratatoeskr/frontend.php
index 51b940d..6c0dfcc 100644
--- a/ratatoeskr/frontend.php
+++ b/ratatoeskr/frontend.php
@@ -108,7 +108,7 @@ function article_transform_ste($article, $lang)
"timestamp" => $article->timestamp,
"tags" => array_map(function($tag) use ($lang) { return tag_transform_ste($tag, $lang); }, $article->get_tags()),
"languages" => $languages,
- "comments_allowed" => $article->comments_allowed,
+ "comments_allowed" => $article->allow_comments,
"__obj" => $article
);
}