Index: openacs-4/packages/dotlrn/www/spam.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/spam.xql,v diff -u -r1.11 -r1.12 --- openacs-4/packages/dotlrn/www/spam.xql 29 May 2018 08:56:41 -0000 1.11 +++ openacs-4/packages/dotlrn/www/spam.xql 3 Sep 2024 15:37:37 -0000 1.12 @@ -45,7 +45,7 @@ and parties.party_id = acs_objects.object_id and parties.party_id in (select acs_rels.object_id_two from acs_rels, membership_rels - where acs_rels.object_id_one = :registered_users_id + where acs_rels.object_id_one = [ns_dbquotevalue $registered_users_id] and acs_rels.rel_id = membership_rels.rel_id and membership_rels.member_state = 'approved' )) $who_will_receive_this_clause