Merge branch 'bugfix_branch'
commit
0c1b1fbe76
|
@ -180,9 +180,11 @@ public class System {
|
||||||
if(username.equals("")||hometown.equals("")||zip.equals(""))
|
if(username.equals("")||hometown.equals("")||zip.equals(""))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if(!current_user.getUsername().equals(username)){
|
||||||
for(User user: this.all_user)
|
for(User user: this.all_user)
|
||||||
if(user.getUsername().equals(username))
|
if(user.getUsername().equals(username))
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
ArrayList<String> mem = search(zip);
|
ArrayList<String> mem = search(zip);
|
||||||
boolean bool = false;
|
boolean bool = false;
|
||||||
|
|
Loading…
Reference in New Issue