

Nextrek
Diff Revisions 517 vs 537 for /Android/SmartCharging/endPoints/nightly/registrazione_locale.php
@@ -98,9 +98,10 @@ | |||
98 | 98 | catch(PDOException $e) | |
99 | 99 | { | |
100 | 100 | echo $e->getMessage(); | |
101 | + | $risposta = createErrorMessage(3, "Errore DB"); | |
101 | 102 | $risposta["user_id"] = -1; | |
102 | 103 | $risposta["local_id"] = -1; | |
103 | - | $risposta["return"] = 3; | |
104 | + | //$risposta["return"] = 3; | |
104 | 105 | } finally { | |
105 | 106 | $conn = null; //Close the connection to the DBMS | |
106 | 107 | } |