Skip to content

Commit

Permalink
Convert the admin_theme controller to use the json::reply method
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Almdal authored and bharat committed Jul 31, 2010
1 parent 91a2c04 commit 09dfe1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gallery/controllers/admin_themes.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 09dfe1a

Please sign in to comment.