Skip to content

Commit

Permalink
-nullpointer posta #62
Browse files Browse the repository at this point in the history
  • Loading branch information
ciopper90 committed Jun 27, 2014
1 parent 2c956b6 commit 15b249f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/it/gaiacri/mobile/PostaIngresso.java
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,10 @@ public void richiestaMittenti(){
data.put("id",mitt.get(i));
date.put(""+i, data);
}
RichiestaMittenti richiesta=new RichiestaMittenti(date);
richiesta.execute();

if(!(PostaIngresso.this.getActivity() == null || PostaIngresso.this.getActivity().getApplicationContext()== null)){
RichiestaMittenti richiesta=new RichiestaMittenti(date);
richiesta.execute();
}
}

public void richiestaNotifiche(){
Expand Down

0 comments on commit 15b249f

Please sign in to comment.