[#2558] Check that @memberships is set before using it.

This commit is contained in:
Eric Davis committed 2009-08-01 10:04:20 -07:00
1 parent 0117e454a3
commit c0006e1040
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
<%# TODO: Override the default view until post 0.8.x which will have the hooks %>
<% if @memberships.any? %>
<% if @memberships && @memberships.any? %>
<table class="list memberships">
<thead>
<th><%= l(:label_project) %></th>