From 09dfe1a91b3e663917fe53516148fe5d74c099fa Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 23 Jul 2010 23:00:27 -0700 Subject: [PATCH] Convert the admin_theme controller to use the json::reply method --- modules/gallery/controllers/admin_themes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gallery/controllers/admin_themes.php b/modules/gallery/controllers/admin_themes.php index b1bd438f5e..18a4d2ae3a 100644 --- a/modules/gallery/controllers/admin_themes.php +++ b/modules/gallery/controllers/admin_themes.php @@ -52,7 +52,7 @@ public function preview($type, $theme_name) { } else { $view->url = item::root()->url("theme=$theme_name"); } - print json_encode(array("form" => (string) $view)); + json::reply(array("form" => (string) $view)); } public function choose($type, $theme_name) {