diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-07-23 23:00:27 -0700 | 
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-07-23 23:05:40 -0700 | 
| commit | 75a181f8903e10ec4f3e2e8e4ee0a937124062e1 (patch) | |
| tree | 33cc91c2907a4ad9f0f38b0bb5f2f8668fef6d02 /modules/gallery/controllers/admin_themes.php | |
| parent | 48c2e73048be15c7d575293e0e5c69b93ab92398 (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.php | 2 | 
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) { | 
