组织500问题

This commit is contained in:
huang 2016-07-22 18:21:27 +08:00
parent 9b97f7e472
commit ab4d85dcb7
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
</div>
</div>
<% end %>
<% if act.org_act && act.org_act_type == 'OrgDocumentComment' && act.org_act.organization.home_id != act.org_act.id %>
<% if act.org_act_type == 'OrgDocumentComment' && act.org_act && act.org_act.organization.home_id != act.org_act.id %>
<%= render :partial => 'show_org_document', :locals => {:document => act.org_act, :act => act, :flag => 2, :org_subfield_id => params[:org_subfield_id]} %>
<% end %>
<% end %>