Browse Source

Removed empty label from forums choice.

Rafał Pitoń 11 years ago
parent
commit
4bc9b57dd0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/apps/search/forms.py

+ 1 - 1
misago/apps/search/forms.py

@@ -84,7 +84,7 @@ class ForumsSearchForm(AdvancedSearchForm):
         self.add_field('search_forums', ForumMultipleChoiceField(label=_("Search Forums"),
         self.add_field('search_forums', ForumMultipleChoiceField(label=_("Search Forums"),
                                                                  help_text=_("If you want, you can limit search to specified forums."),
                                                                  help_text=_("If you want, you can limit search to specified forums."),
                                                                  queryset=Forum.objects.get(special='root').get_descendants().filter(pk__in=self.request.acl.forums.acl['can_browse']),
                                                                  queryset=Forum.objects.get(special='root').get_descendants().filter(pk__in=self.request.acl.forums.acl['can_browse']),
-                                                                 required=False))
+                                                                 required=False, empty_label=None))
         self.add_field('search_forums_childs', forms.BooleanField(label=_("Include Children Forums"), required=False))
         self.add_field('search_forums_childs', forms.BooleanField(label=_("Include Children Forums"), required=False))