Index: openacs-4/packages/acs-admin/www/users/merge-final.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/users/merge-final.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-admin/www/users/merge-final.tcl 13 Jun 2015 23:55:33 -0000 1.6 +++ openacs-4/packages/acs-admin/www/users/merge-final.tcl 7 Aug 2017 23:47:45 -0000 1.7 @@ -12,8 +12,8 @@ context:onevalue } -validate { if_diff_authority { - set from_authority_id [db_string gettoa "select authority_id from cc_users where user_id = :from_user_id"] - set to_authority_id [db_string getfroma "select authority_id from cc_users where user_id = :to_user_id"] + set from_authority_id [db_string gettoa {select authority_id from cc_users where user_id = :from_user_id}] + set to_authority_id [db_string getfroma {select authority_id from cc_users where user_id = :to_user_id}] if { $from_authority_id ne $to_authority_id } { ad_complain "Merge only works for users of the same authority" } @@ -32,8 +32,9 @@ if { !$merge_p } { ad_returnredirect "/acs-admin/users" } else { - set final_results [callback merge::MergePackageUser -from_user_id $from_user_id -to_user_id $to_user_id] - + set final_results [callback merge::MergePackageUser \ + -from_user_id $from_user_id \ + -to_user_id $to_user_id] set results "