summaryrefslogtreecommitdiff
path: root/modules/comment/controllers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-11-15 19:46:12 -0800
committerAndy Staudacher <andy.st@gmail.com>2009-11-15 19:46:12 -0800
commitb64729bfbe9f76bbbcdfa288f8fb1b696c6d8895 (patch)
tree677278500f44a2c0d0e74bca7e9371bd021ede9a /modules/comment/controllers
parent0733dc37fda27a5ba35f9020edf3c66aa41a95a0 (diff)
Fix ticket 890 (related to 879): Don't double-escape menu labels on the comment admin screen.
Diffstat (limited to 'modules/comment/controllers')
-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) {