]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/views/patch.py
Add project argument to set_patches
[patchwork] / apps / patchwork / views / patch.py
index d509e2887d68c70fb135df6b1dc78b345c23020b..f20f25d792e5b33321c43cf3e0a539419338ed51 100644 (file)
@@ -156,7 +156,8 @@ def list(request, project_id):
                 pass
             ps.append(patch)
 
-        (errors, form) = set_patches(request.user, action, request.POST, ps)
+        (errors, form) = set_patches(request.user, project, action, \
+                               request.POST, ps)
         if errors:
             context['errors'] = errors