Index: openacs-4/packages/assessment/www/asm-admin/item-edit-display-f.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/asm-admin/item-edit-display-f.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/assessment/www/asm-admin/item-edit-display-f.tcl 15 May 2007 20:14:18 -0000 1.3 +++ openacs-4/packages/assessment/www/asm-admin/item-edit-display-f.tcl 27 Oct 2014 16:41:02 -0000 1.4 @@ -4,9 +4,9 @@ @author Anny Flores (annyflores@viaro.net) Viaro Networks (www.viaro.net) @cvs-id $Id: } { - assessment_id:integer - section_id:integer - as_item_id:integer + assessment_id:naturalnum,notnull + section_id:naturalnum,notnull + as_item_id:naturalnum,notnull } -properties { context_bar:onevalue page_title:onevalue @@ -41,7 +41,7 @@ {as_item_display_id:text(hidden)} } -edit_request { db_1row last_used_display_type {} - if {![empty_string_p $as_item_display_id]} { + if {$as_item_display_id ne ""} { db_1row display_type_data {} } else { # default data if display newly mapped