From 5d14531af936a9ab2887fac9d1f056a1d712b051 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 16 Nov 2008 19:12:01 +0000 Subject: Drop the call to render() and just use the View's __toString method to print it out. --- core/controllers/rest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers/rest.php') diff --git a/core/controllers/rest.php b/core/controllers/rest.php index 4a6c4eb4..aee4f527 100644 --- a/core/controllers/rest.php +++ b/core/controllers/rest.php @@ -72,7 +72,7 @@ abstract class REST_Controller extends Controller { if (Session::instance()->get("use_profiler", false)) { $profiler = new Profiler(); - print $profiler->render(); + $profiler->render(); } return; } -- cgit v1.2.3