From: Artem Daniliants Date: Tue, 9 Mar 2010 14:57:06 +0000 (+0200) Subject: Fixed bug: not printing "OK" after registration X-Git-Tag: v0.1~67 X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=commitdiff_plain;h=03990e5a5135b260efdabb9bb6631cc7a57ba3da Fixed bug: not printing "OK" after registration --- diff --git a/Server/application/controllers/api.php b/Server/application/controllers/api.php index 33c8558..d8f8e6a 100644 --- a/Server/application/controllers/api.php +++ b/Server/application/controllers/api.php @@ -23,7 +23,7 @@ class Api_Controller extends Controller{ $xml = $this->get_xml(); try { $user = new User_Model($xml->login, $xml->password, $xml->email); - return "OK"; + echo "OK"; } catch (Exception $e) { echo $e->getMessage() . "\n";