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

This commit is contained in:
Eric Davis
2009-08-01 10:04:20 -07:00
parent 0117e454a3
commit c0006e1040
2 changed files with 2 additions and 2 deletions

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>