Fix bug.
This commit is contained in:
1 parent
9cbf30c14a
commit
3d871aec8f
3 files changed
+12
-4
No files matched your search
@@ -158,6 +158,7 @@ namespace :exec_commands do
|
||||
end
|
||||
def update_infos_for_exec(info,update_last=false,update_array=false)
|
||||
return if @site_construct.nil?
|
||||
info.encode!("UTF-8", :invalid => :replace, :undef => :replace, :replace => '')
|
||||
if update_last && !@site_construct.infos.empty?
|
||||
@site_construct.infos[-1] += info.to_s
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user