Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v diff -u -r1.276 -r1.277 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 27 Jun 2018 13:02:13 -0000 1.276 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 21 Jul 2018 11:56:37 -0000 1.277 @@ -3195,7 +3195,7 @@ } #:msg "guess mime_type of $entry_name = [::xowiki::guesstype $entry_name]" set import_file [ad_tmpnam] - ::xowiki::write_file $import_file $img + ::xo::write_file $import_file $img set file_object [::xowiki::File new -destroy_on_cleanup \ -title $entry_name \ -name $entry_name \