Permalink
Browse files

Convert the admin_theme controller to use the json::reply method

  • Loading branch information...
1 parent 48c2e73 commit 75a181f8903e10ec4f3e2e8e4ee0a937124062e1 @talmdal talmdal committed Jul 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit 75a181f

Please sign in to comment.