Index: openacs-4/packages/acs-tcl/tcl/community-core-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/community-core-procs.xql,v diff -u -r1.20 -r1.21 --- openacs-4/packages/acs-tcl/tcl/community-core-procs.xql 20 Aug 2007 20:12:44 -0000 1.20 +++ openacs-4/packages/acs-tcl/tcl/community-core-procs.xql 20 Aug 2007 21:47:38 -0000 1.21 @@ -219,4 +219,16 @@ + + + + select c.item_id + from acs_rels a, cr_items c + where a.object_id_two = c.item_id + and a.object_id_one = :user_id + and a.rel_type = 'user_portrait_rel' + + + +