[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfixes #56

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix a NPE when a user doesn't have rights to post but create a local …
…draft
  • Loading branch information
maxme committed Sep 18, 2013
commit 4d582b7ab5f3df0cc34f1ce824ce447cadf33c5b
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3)
}
}
});

mSelectedCategories = new HashSet<String>();

Bundle extras = getIntent().getExtras();
Expand All @@ -89,6 +89,9 @@ public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3)
if (extras.containsKey("categories"))
mSelectedCategories = (HashSet<String>) extras.getSerializable("categories");
}
if (mSelectedCategories == null) {
mSelectedCategories = new HashSet<String>();
}

populateOrFetchCategories();
}
Expand Down