Skip to content

Commit 7d03b31

Browse files
author
Nicolas Rodriguez
committed
Fix #257
1 parent 2d0d9ce commit 7d03b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/redmine_git_hosting/patches/repository_patch.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def commits_per_author
199199
commits = Changeset.where("repository_id = ? AND committer = ?", self.id, committer).group(:commit_date).order(:commit_date).count
200200

201201
committer_name = committer.split('<')[0].strip
202-
committer_mail = committer.split('<')[1].gsub('>', '')
202+
committer_mail = committer.split('<')[1].gsub('>', '') rescue ''
203203

204204
commits_data = {}
205205
commits_data[:author_name] = committer_name

0 commit comments

Comments
 (0)