Subversion Repository Public Repository

Nextrek

Diff Revisions 282 vs 287 for /Android/SmartCharging/endPoints/registrazione_utente.php

Diff revisions: vs.
  @@ -41,7 +41,7 @@
41 41 $strToHash = $user->username.$user->nominativo.$user->cell.$user->email;
42 42
43 43 if ($params["avatar"] != "") {
44 - $imgExtention= substr(strrchr($params["avatar"],'.'),1);
44 + $imgExtention = substr(strrchr($params["avatar"],'.'),1);
45 45 $risposta["avatar_path"] = "./avatar/".sha1($strToHash)."-".strval(time()).".".$imgExtention;
46 46 }
47 47