Index: openacs-4/packages/survey/www/admin/response-editable-toggle.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/www/admin/response-editable-toggle.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/survey/www/admin/response-editable-toggle.tcl 16 Sep 2002 00:00:24 -0000 1.1 +++ openacs-4/packages/survey/www/admin/response-editable-toggle.tcl 6 Nov 2013 07:33:55 -0000 1.2 @@ -14,9 +14,9 @@ } -ad_require_permission $survey_id survey_admin_survey +permission::require_permission -object_id $survey_id -privilege survey_admin_survey db_dml survey_response_editable_toggle "" db_release_unused_handles -ad_returnredirect "one?[export_url_vars survey_id]" +ad_returnredirect "one?[export_vars -url {survey_id}]"