Permalink
Browse files

Remove redundant print statement. rest::reply() does the print so hav…

…ing the extra print statement could lead to problems.
  • Loading branch information...
1 parent 1d8862d commit 7d7da6eb0a953c61ceb424d9837f850ca2c8b0ce @talmdal talmdal committed Feb 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/rest/controllers/rest.php
@@ -68,7 +68,7 @@ public function __call($function, $args) {
}
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";

0 comments on commit 7d7da6e

Please sign in to comment.