Skip to content

Commit

Permalink
Fixed Issue #NR: fixed a minor issue with response deletion
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@9684 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Amit Shanker committed Jan 14, 2011
1 parent 895f234 commit a9833eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/dataentry.php
Expand Up @@ -1451,7 +1451,7 @@ function saveshow(value)

elseif ($subaction == "delete" && bHasSurveyPermission($surveyid,'responses','delete'))
{
if (!bHasSurveyPermission($surveyid,'delete_survey'))
if (!bHasSurveyPermission($surveyid,'delete_survey', 'delete'))
{
safe_die('You are not allowed to delete a response.');
}
Expand Down

0 comments on commit a9833eb

Please sign in to comment.