Index: openacs-4/packages/tsearch2-driver/tcl/tsearch2-driver-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/tsearch2-driver/tcl/tsearch2-driver-procs.tcl,v diff -u -r1.41.2.3 -r1.41.2.4 --- openacs-4/packages/tsearch2-driver/tcl/tsearch2-driver-procs.tcl 4 Feb 2020 08:52:53 -0000 1.41.2.3 +++ openacs-4/packages/tsearch2-driver/tcl/tsearch2-driver-procs.tcl 3 May 2020 18:00:42 -0000 1.41.2.4 @@ -181,7 +181,7 @@ } if {$ids ne ""} { set need_acs_objects 1 - lappend where_clauses "o.package_id in ([join $ids ,])" + lappend where_clauses "o.package_id in ([ns_dbquotelist $ids])" } if {$need_acs_objects} { lappend from_clauses "txt" "acs_objects o"