Index: openacs-4/packages/acs-admin/www/auth/authority-set-sort-order.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/auth/authority-set-sort-order.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-admin/www/auth/authority-set-sort-order.tcl 22 Oct 2003 12:47:25 -0000 1.2 +++ openacs-4/packages/acs-admin/www/auth/authority-set-sort-order.tcl 10 Jan 2007 21:22:00 -0000 1.3 @@ -16,7 +16,7 @@ where authority_id = :authority_id } -if { $direction == "up" } { +if { $direction eq "up" } { db_transaction { # Increase next authority's sort_order by one @@ -36,7 +36,7 @@ } } -} elseif { $direction == "down"} { +} elseif { $direction eq "down"} { db_transaction { # Decrease previous authority's sort_order by one