summaryrefslogtreecommitdiff
path: root/modules/comment/controllers/admin_comments.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-11-14 13:23:54 -0700
committerChad Kieffer <ckieffer@gmail.com>2009-11-14 13:23:54 -0700
commit0674f18eb5f05471bf4090a0c83e88eadf349080 (patch)
tree2b783291954ed1c7a9f040da7bb27a35c5297a1a /modules/comment/controllers/admin_comments.php
parentd29d339ea0088b2aa9cd11701289db03ec307ea3 (diff)
parent100a66d861849ab0d78dca84b0b06c1af973752a (diff)
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/comment/controllers/admin_comments.php')
-rw-r--r--modules/comment/controllers/admin_comments.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/comment/controllers/admin_comments.php b/modules/comment/controllers/admin_comments.php
index a164f79f..2c278d64 100644
--- a/modules/comment/controllers/admin_comments.php
+++ b/modules/comment/controllers/admin_comments.php
@@ -33,10 +33,10 @@ class Admin_Comments_Controller extends Admin_Controller {
public function menu_labels() {
$menu = $this->_menu($this->_counts());
- print json_encode(array($menu->get("unpublished")->label,
- $menu->get("published")->label,
- $menu->get("spam")->label,
- $menu->get("deleted")->label));
+ print json_encode(array($menu->get("unpublished")->label->for_js(),
+ $menu->get("published")->label->for_js(),
+ $menu->get("spam")->label->for_js(),
+ $menu->get("deleted")->label->for_js()));
}
public function queue($state) {