]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/views/__init__.py
Add project argument to set_patches
[patchwork] / apps / patchwork / views / __init__.py
index 2636d29b7ee358152e9412effc51ff096c856584..b5c19c2e26705ef8c031182194f9ab1f9cc7d39a 100644 (file)
@@ -54,8 +54,8 @@ def generic_list(request, project, view,
                 pass
             ps.append(patch)
 
-        (errors, form) = set_patches(request.user, action, request.POST, \
-                ps, context)
+        (errors, form) = set_patches(request.user, project, action, \
+                               request.POST, ps, context)
         if errors:
             context['errors'] = errors