

Nextrek
Diff Revisions 536 vs 537 for /Android/SmartCharging/endPoints/nightly/login.php
@@ -34,7 +34,8 @@ | |||
34 | 34 | catch(PDOException $e) | |
35 | 35 | { | |
36 | 36 | echo $e->getMessage(); | |
37 | - | $risposta["return"] = 2; | |
37 | + | $risposta = createErrorMessage(2, "Errore DB"); | |
38 | + | //$risposta["return"] = 2; | |
38 | 39 | $risposta["id"] = -1; | |
39 | 40 | } | |
40 | 41 |