Index: openacs-4/packages/acs-subsite/www/admin/group-types/rel-type-remove-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/group-types/rel-type-remove-2.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-subsite/www/admin/group-types/rel-type-remove-2.tcl 13 Mar 2001 22:59:26 -0000 1.1 +++ openacs-4/packages/acs-subsite/www/admin/group-types/rel-type-remove-2.tcl 10 Jan 2007 21:22:06 -0000 1.2 @@ -14,7 +14,7 @@ { operation:trim "No, I want to cancel my request" } } -if { [empty_string_p $return_url] } { +if { $return_url eq "" } { # Pull out the group_type now as we may delete the row later db_1row select_group_type { select g.group_type @@ -24,7 +24,7 @@ set return_url one?[ad_export_vars {group_type}] } -if { [string eq $operation "Yes, I really want to remove this relationship type"] } { +if {$operation eq "Yes, I really want to remove this relationship type"} { db_transaction { db_dml remove_relation { delete from group_type_rels where group_rel_type_id = :group_rel_type_id