Index: openacs-4/packages/acs-subsite/www/admin/relations/remove-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/relations/remove-2.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-subsite/www/admin/relations/remove-2.tcl 13 Mar 2001 22:59:26 -0000 1.1 +++ openacs-4/packages/acs-subsite/www/admin/relations/remove-2.tcl 10 Jan 2007 21:22:08 -0000 1.2 @@ -18,15 +18,15 @@ } } -if { [string eq $operation "Yes, I really want to remove this relation"] } { +if {$operation eq "Yes, I really want to remove this relation"} { db_transaction { relation_remove $rel_id } on_error { ad_return_error "Error creating the relation" "We got the following error while trying to remove the relation:
$errmsg
" ad_script_abort } } else { - if { [empty_string_p $return_url] } { + if { $return_url eq "" } { # redirect to the relation by default, if we haven't deleted it set return_url "one?[ad_export_vars rel_id]" }