Index: openacs-4/packages/acs-subsite/www/admin/attributes/add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/attributes/add-2.tcl,v diff -u -N -r1.8 -r1.8.2.1 --- openacs-4/packages/acs-subsite/www/admin/attributes/add-2.tcl 19 Jan 2018 14:09:48 -0000 1.8 +++ openacs-4/packages/acs-subsite/www/admin/attributes/add-2.tcl 16 May 2019 09:54:29 -0000 1.8.2.1 @@ -1,5 +1,3 @@ -# /packages/mbryzek-subsite/www/admin/attribute-add.tcl - ad_page_contract { Adds attributes @@ -23,9 +21,9 @@ datatypes:multirow } -validate { dynamic_type -requires {object_type:notnull} { - if { ![package_type_dynamic_p $object_type] } { - ad_complain "The specified object type, $object_type, is not dynamic and therefore cannot be modified." - } + if { ![package_type_dynamic_p $object_type] } { + ad_complain "The specified object type, $object_type, is not dynamic and therefore cannot be modified." + } } }