Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
harlo authored and harlo committed May 2, 2013
1 parent 5581bd2 commit 66399c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public void onClick(View v) {
@Override
public boolean onItemLongClick(AdapterView<?> adapterView, View view, int viewId, long l) {
IOrganization org = installedOrganizations.organizations.get((int) l);
if(org.transportCredentials.certificatePath != null) {
if(org.transportCredentials != null && org.transportCredentials.certificatePath != null) {
((HomeActivityListener) a).getContextualMenuFor(org);
}
return true;
Expand Down

0 comments on commit 66399c8

Please sign in to comment.