Index: openacs-4/packages/cms/www/modules/items/unrelate-item.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/items/unrelate-item.xql,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/cms/www/modules/items/unrelate-item.xql 16 Nov 2004 22:32:48 -0000 1.2 +++ openacs-4/packages/cms/www/modules/items/unrelate-item.xql 19 Feb 2007 22:17:43 -0000 1.2.2.1 @@ -1,17 +1,10 @@ - + - abort transaction - - - - - - - select item_id from cr_item_rels where rel_id = :rel + select 1 from $rel_table where rel_id = :rel