diff --git a/app/models/repository.rb b/app/models/repository.rb index fcd5cadeb2..95f4bfed74 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -85,7 +85,7 @@ def media_path end def commit(msg) - author = if Current.user&.full_name && Current.user&.email + author = if Current.user&.full_name && Current.user.email "#{Current.user.full_name} <#{Current.user.email}>" else 'Dodona '