Fix bug with no memberships

This commit is contained in:
Alexander Meindl 2018-02-26 11:40:05 +01:00
parent 99ce81efd1
commit b3eca5d1df

View File

@ -45,6 +45,7 @@ module Additionals
end
def memberships_new_issue_project_url(user, memberships)
return if memberships.blank?
project_count = 0
project_id = nil
memberships.each do |m|