mirror of
https://github.com/redmine/redmine.git
synced 2026-04-14 08:28:33 +02:00
FrozenError when using SQLite3 gem version 2.0.0 or later (#41860).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23308 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -83,8 +83,7 @@ class WikiContentVersion < ApplicationRecord
|
||||
# uncompressed data
|
||||
data
|
||||
end
|
||||
str.force_encoding("UTF-8")
|
||||
str
|
||||
(+str).force_encoding('UTF-8')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user