

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