Index: openacs-4/packages/glossary/www/index.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/glossary/www/index.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/glossary/www/index.xql 25 Oct 2001 01:52:19 -0000 1.1 +++ openacs-4/packages/glossary/www/index.xql 14 Dec 2001 21:49:14 -0000 1.2 @@ -33,7 +33,7 @@ select s1.name from site_nodes s1, site_nodes s2, apm_packages p where package_key = 'acs-workflow' - and s1.object_id = package_id + and s1.object_id = :package_id and s1.parent_id = s2.parent_id and s2.node_id = :node_id Index: openacs-4/packages/glossary/www/term-add-edit.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/glossary/www/term-add-edit.xql,v diff -u -r1.3 -r1.4 --- openacs-4/packages/glossary/www/term-add-edit.xql 31 Oct 2001 20:42:07 -0000 1.3 +++ openacs-4/packages/glossary/www/term-add-edit.xql 14 Dec 2001 21:49:14 -0000 1.4 @@ -24,10 +24,10 @@ insert into glossary_termsi ( item_id, revision_id, title, context_id, - creation_user, creation_ip + creation_user, creation_ip, mime_type ) values ( :item_id, :revision_id, - :term, :glossary_item_id, :user_id, :peeraddr + :term, :glossary_item_id, :user_id, :peeraddr, :mime_type )