mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
fix(ruby): string forcesavetype check. Fix Bug 79584
This commit is contained in:
@ -222,7 +222,7 @@ class TrackHelper
|
||||
|
||||
begin
|
||||
# check if the forcesave type is equal to 3 (the form was submitted)
|
||||
is_submit_form = Integer(file_data['forcesavetype'], 10) == 3
|
||||
is_submit_form = file_data['forcesavetype'].to_s == '3'
|
||||
|
||||
if is_submit_form
|
||||
file_name = if new_file_name
|
||||
|
||||
Reference in New Issue
Block a user