aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr')
-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
);
}