Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
fix for bug 783309
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short committed Aug 16, 2012
1 parent c15ec73 commit b51b612
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mkt/developers/forms.py
Expand Up @@ -342,7 +342,9 @@ def save(self, addon, commit=True):
ContentRating.objects.create(addon=addon, rating=r.id,
ratings_body=r.ratingsbody.id)
uses_flash = self.cleaned_data.get('flash')
addon.get_latest_file().update(uses_flash=bool(uses_flash))
af = addon.get_latest_file()
if af is not None:
af.update(uses_flash=bool(uses_flash))
return addon


Expand Down

0 comments on commit b51b612

Please sign in to comment.