[#6898] Check for project variable before using
This commit is contained in:
1 parent
2c2ce0d9f3
commit
30e7142c50
1 file changed
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
<% if project.module_enabled?(:contracts) && User.current.allowed_to?(:assign_deliverable_to_issue, project) %>
|
<% if project && project.module_enabled?(:contracts) && User.current.allowed_to?(:assign_deliverable_to_issue, project) %>
|
||||||
<p>
|
<p>
|
||||||
<%= label_tag(:deliverable_id, l(:field_deliverable)) %>
|
<%= label_tag(:deliverable_id, l(:field_deliverable)) %>
|
||||||
<%= select_tag('deliverable_id',
|
<%= select_tag('deliverable_id',
|
||||||
|
|||||||
Reference in new issue
Block a user