Index: openacs-4/packages/xowiki/tcl/syndicate-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/syndicate-procs.tcl,v diff -u -r1.51.2.6 -r1.51.2.7 --- openacs-4/packages/xowiki/tcl/syndicate-procs.tcl 4 Jul 2019 17:51:39 -0000 1.51.2.6 +++ openacs-4/packages/xowiki/tcl/syndicate-procs.tcl 3 May 2020 17:14:02 -0000 1.51.2.7 @@ -272,8 +272,12 @@ set last_user "" set last_item "" set last_clock "" - if {[info exists :user_id]} { append where_clause " and o.creation_user = ${:user_id} " } - if {[info exists :limit]} { set limit [:limit] } + if {[info exists :user_id]} { + append where_clause " and o.creation_user = [ns_dbquotevalue ${:user_id}] " + } + if {[info exists :limit]} { + set limit [:limit] + } ::xo::OrderedComposite items -destroy_on_cleanup set sql [::xo::dc select \