Index: openacs-4/packages/assessment/www/asm-admin/item-edit-general.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/asm-admin/item-edit-general.xql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/assessment/www/asm-admin/item-edit-general.xql 15 Apr 2005 17:26:46 -0000 1.2
+++ openacs-4/packages/assessment/www/asm-admin/item-edit-general.xql 12 Jun 2006 02:49:51 -0000 1.3
@@ -40,7 +40,7 @@
select r.title, r.description, i.subtext, i.field_name, i.field_code, i.required_p,
- i.feedback_right, i.feedback_wrong, i.max_time_to_complete, i.data_type, i.points
+ i.feedback_right, i.feedback_wrong, i.max_time_to_complete, i.data_type, i.points, i.validate_block
from cr_revisions r, as_items i
where r.revision_id = i.as_item_id
and i.as_item_id = :as_item_id
@@ -60,6 +60,15 @@
+
+
+ insert into as_item_rels
+ (target_rev_id, item_rev_id, rel_type)
+ values
+ (:content_rev_id, :new_item_id, 'as_item_content_rel')
+
+
+