diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-24 11:49:53 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-24 11:49:53 -0800 |
commit | 7d7da6eb0a953c61ceb424d9837f850ca2c8b0ce (patch) | |
tree | 7e104fb5f0bf819c4a658d8b9b7b58df9bfafdf1 /modules/rest | |
parent | 1d8862d957e8f08552d448cd17b3c00c61b7fc05 (diff) |
Remove redundant print statement. rest::reply() does the print so having the extra print statement could lead to problems.
Diffstat (limited to 'modules/rest')
-rw-r--r-- | modules/rest/controllers/rest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest/controllers/rest.php b/modules/rest/controllers/rest.php index 7cdd97c9..b8d9a889 100644 --- a/modules/rest/controllers/rest.php +++ b/modules/rest/controllers/rest.php @@ -68,7 +68,7 @@ class Rest_Controller extends Controller { } try { - print rest::reply(call_user_func(array($handler_class, $handler_method), $request)); + rest::reply(call_user_func(array($handler_class, $handler_method), $request)); } catch (ORM_Validation_Exception $e) { foreach ($e->validation->errors() as $key => $value) { $msgs[] = "$key: $value"; |