Subversion Repository Public Repository

Nextrek

Diff Revisions 536 vs 537 for /Android/SmartCharging/endPoints/nightly/get_avatar.php

Diff revisions: vs.
  @@ -32,9 +32,10 @@
32 32 catch(PDOException $e)
33 33 {
34 34 echo $e->getMessage();
35 - $risposta["return"] = 1;
35 + $risposta = createErrorMessage(1, "Errore DB");
36 + /*$risposta["return"] = 1;
36 37 $risposta["id"] = -1;
37 - $risposta["avatar"] = "";
38 + $risposta["avatar"] = "";*/
38 39 }
39 40
40 41 echo json_encode($risposta);