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.11 -r1.51.2.12 --- openacs-4/packages/xowiki/tcl/syndicate-procs.tcl 28 Sep 2020 21:04:04 -0000 1.51.2.11 +++ openacs-4/packages/xowiki/tcl/syndicate-procs.tcl 19 Oct 2021 08:19:13 -0000 1.51.2.12 @@ -121,7 +121,9 @@ # without causing a SQL error. set form_items [list -1] } - append extra_where_clause " and p.page_template in ('[join $form_items ',']') and p.page_instance_id = p.revision_id " + append extra_where_clause [subst { + and p.page_template in ([ns_dbquotelist $form_items]) and p.page_instance_id = p.revision_id + }] " " set :base_table xowiki_form_pagex }