

Nextrek
Diff Revisions 536 vs 537 for /Android/SmartCharging/endPoints/nightly/get_info_small_locale.php
@@ -39,7 +39,8 @@ | |||
39 | 39 | catch(PDOException $e) | |
40 | 40 | { | |
41 | 41 | echo $e->getMessage(); | |
42 | - | $risposta["return"] = 1; | |
42 | + | $risposta = createErrorMessage(1, "Errore DB"); | |
43 | + | //$risposta["return"] = 1; | |
43 | 44 | } | |
44 | 45 | ||
45 | 46 | echo json_encode($risposta); |