Browse Source

Renamed "type" to "search_type"

sh4nks 11 years ago
parent
commit
38a341d206
1 changed files with 3 additions and 3 deletions
  1. 3 3
      flaskbb/forum/forms.py

+ 3 - 3
flaskbb/forum/forms.py

@@ -89,8 +89,8 @@ class SearchPageForm(Form):
         types = self.search_types.data
         types = self.search_types.data
         results = {}
         results = {}
 
 
-        for type in search_actions.keys():
-            if type in types:
-                results[type] = search_actions[type](query)
+        for search_type in search_actions.keys():
+            if search_type in types:
+                results[search_type] = search_actions[search_type](query)
 
 
         return results
         return results