summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-07-23 23:00:27 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-07-23 23:05:40 -0700
commit75a181f8903e10ec4f3e2e8e4ee0a937124062e1 (patch)
tree33cc91c2907a4ad9f0f38b0bb5f2f8668fef6d02
parent48c2e73048be15c7d575293e0e5c69b93ab92398 (diff)
Convert the admin_theme controller to use the json::reply method
-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) {