1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00: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:
Go MAEDA 2024-11-25 06:17:20 +00:00
parent 0b2b45f063
commit b437ebda49

View File

@ -83,8 +83,7 @@ class WikiContentVersion < ApplicationRecord
# uncompressed data
data
end
str.force_encoding("UTF-8")
str
(+str).force_encoding('UTF-8')
end
end