mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
FIX: Prevent frozen string error in import scripts (#30325)
Co-authored-by: Selase Krakani <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
Selase Krakani
parent
c9e99ebd38
commit
236efe9ecf
@@ -444,7 +444,7 @@ class ImportScripts::Base
|
||||
else
|
||||
# Basic massaging on the category name
|
||||
params[:name] = "Blank" if params[:name].blank?
|
||||
params[:name].strip!
|
||||
params[:name] = params[:name].strip
|
||||
params[:name] = params[:name][0..49]
|
||||
|
||||
# make sure categories don't go more than 2 levels deep
|
||||
|
||||
Reference in New Issue
Block a user