Index: openacs-4/packages/contacts/tcl/contacts-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/tcl/contacts-procs-postgresql.xql,v diff -u -r1.22 -r1.23 --- openacs-4/packages/contacts/tcl/contacts-procs-postgresql.xql 15 Nov 2006 13:13:04 -0000 1.22 +++ openacs-4/packages/contacts/tcl/contacts-procs-postgresql.xql 28 Jan 2007 12:53:55 -0000 1.23 @@ -30,8 +30,9 @@ select person_id from persons - where person_id not in ( select item_id from cr_items ) - + where person_id not in ( select item_id from cr_items ) + and person_id > 0 +