Index: openacs-4/packages/acs-subsite/www/admin/groups/delete-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/groups/delete-2.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-subsite/www/admin/groups/delete-2.tcl 13 Mar 2001 22:59:26 -0000 1.1 +++ openacs-4/packages/acs-subsite/www/admin/groups/delete-2.tcl 10 Jan 2007 21:22:07 -0000 1.2 @@ -20,15 +20,15 @@ } } -if { [string eq $operation "Yes, I really want to delete this group"] } { +if {$operation eq "Yes, I really want to delete this group"} { db_transaction { set group_type [group::delete $group_id] } - if { [empty_string_p $return_url] && ![empty_string_p $group_type] } { + if { $return_url eq "" && $group_type ne "" } { set return_url "../group-types/one?[ad_export_vars group_type]" } } else { - if { [empty_string_p $return_url] } { + if { $return_url eq "" } { set return_url "one?[ad_export_vars group_id]" } }