[#6898] Check for project variable before using

This commit is contained in:
Eric Davis committed 2012-05-15 10:45:12 -07:00
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>
<%= label_tag(:deliverable_id, l(:field_deliverable)) %>
<%= select_tag('deliverable_id',