summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_themes.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-07-23 23:00:27 -0700
committerBharat Mediratta <bharat@menalto.com>2010-07-31 15:44:55 -0700
commit09dfe1a91b3e663917fe53516148fe5d74c099fa (patch)
tree1a08877eaa595e23d1713f7386ad3f0cfc8827a8 /modules/gallery/controllers/admin_themes.php
parent91a2c04a24c320df37ea980f11245eb4e086879e (diff)
Convert the admin_theme controller to use the json::reply method
Diffstat (limited to 'modules/gallery/controllers/admin_themes.php')
-rw-r--r--modules/gallery/controllers/admin_themes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/admin_themes.php b/modules/gallery/controllers/admin_themes.php
index b1bd438f..18a4d2ae 100644
--- a/modules/gallery/controllers/admin_themes.php
+++ b/modules/gallery/controllers/admin_themes.php
@@ -52,7 +52,7 @@ class Admin_Themes_Controller extends Admin_Controller {
} 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) {