Index: openacs-4/packages/survey/www/admin/question-swap.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/www/admin/question-swap.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/survey/www/admin/question-swap.tcl 12 Mar 2003 01:05:52 -0000 1.3 +++ openacs-4/packages/survey/www/admin/question-swap.tcl 6 Nov 2013 07:33:55 -0000 1.4 @@ -17,7 +17,7 @@ direction:notnull } -ad_require_permission $section_id survey_modify_survey +permission::require_permission -object_id $section_id -privilege survey_modify_survey if { $direction=="up" } { set next_sort_order [expr { $sort_order - 1 }]