projects
/
speedfreak
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588f121
)
Fixed bug: not printing "OK" after registration
author
Artem Daniliants
<artem@daniliants.com>
Tue, 9 Mar 2010 14:57:06 +0000
(16:57 +0200)
committer
Artem Daniliants
<artem@daniliants.com>
Tue, 9 Mar 2010 14:57:06 +0000
(16:57 +0200)
Server/application/controllers/api.php
patch
|
blob
|
history
diff --git
a/Server/application/controllers/api.php
b/Server/application/controllers/api.php
index
33c8558
..
d8f8e6a
100644
(file)
--- 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";