summaryrefslogtreecommitdiffstats
path: root/app/models/repository.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index bddbbbec4..07e24af29 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -191,7 +191,7 @@ class Repository < ActiveRecord::Base
end
def repo_log_encoding
- encoding = Setting.commit_logs_encoding.to_s.strip
+ encoding = log_encoding.to_s.strip
encoding.blank? ? 'UTF-8' : encoding
end