Skip to content

Commit d407816

Browse files
author
root
committed
Fix #257
1 parent 6b4ce4f commit d407816

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
@@ -197,7 +197,7 @@ def commits_per_author
197197
commits = Changeset.where("repository_id = ? AND committer = ?", self.id, committer).group(:commit_date).order(:commit_date).count
198198

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

202202
commits_data = {}
203203
commits_data[:author_name] = committer_name

0 commit comments

Comments
 (0)