Index: openacs-4/packages/acs-subsite/www/admin/group-types/new.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/group-types/new.tcl,v diff -u -N -r1.5.6.1 -r1.5.6.2 --- openacs-4/packages/acs-subsite/www/admin/group-types/new.tcl 10 Sep 2015 08:21:40 -0000 1.5.6.1 +++ openacs-4/packages/acs-subsite/www/admin/group-types/new.tcl 27 Oct 2015 23:01:35 -0000 1.5.6.2 @@ -71,20 +71,12 @@ Please back up and choose another." } else { # let's make sure the names are unique - if { [db_string pretty_name_unique { - select case when exists (select 1 from acs_object_types t where t.pretty_name = :pretty_name) - then 1 else 0 end - from dual - }] } { + if { [db_string pretty_name_unique {}] } { incr exception_count append exception_text "
  • The specified pretty name, $pretty_name, already exists. Please enter another
  • " } - if { [db_string pretty_name_unique { - select case when exists (select 1 from acs_object_types t where t.pretty_plural = :pretty_plural) - then 1 else 0 end - from dual - }] } { + if { [db_string pretty_name_unique {}] } { incr exception_count append exception_text "
  • The specified pretty plural, $pretty_plural, already exists. Please enter another
  • " }