From 696f81365ca5530b2ccebff191369e2750e45de5 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 11 Jan 2012 15:47:44 +0100 Subject: Fixed article_transform_ste. --- ratatoeskr/frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr') 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 ); } -- cgit v1.2.3-70-g09d2