[#2558] Check that @memberships is set before using it.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require_dependency 'users_helper'
|
||||
require 'users_helper'
|
||||
|
||||
module RateUsersHelperPatch
|
||||
def self.included(base) # :nodoc:
|
||||
|
||||
Reference in New Issue
Block a user