summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-11-15 22:58:02 -0700
committerChad Kieffer <ckieffer@gmail.com>2009-11-15 22:58:02 -0700
commit18f5481252c653a25c529b34fdcbf06643897634 (patch)
tree17a8a4dae84d3aec70833e34290a390a6043f701
parentf4ad53d28b8ef28698c90727d649837bf9fe474e (diff)
parentb64729bfbe9f76bbbcdfa288f8fb1b696c6d8895 (diff)
Merge branch 'master' of github.com:gallery/gallery3
-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 2c278d64..13532c4e 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->for_js(),
- $menu->get("published")->label->for_js(),
- $menu->get("spam")->label->for_js(),
- $menu->get("deleted")->label->for_js()));
+ print json_encode(array((string) $menu->get("unpublished")->label,
+ (string) $menu->get("published")->label,
+ (string) $menu->get("spam")->label,
+ (string) $menu->get("deleted")->label));
}
public function queue($state) {