Skip to content

Commit

Permalink
Fixed issue #17454: Unable to remove a user with survey permissions w…
Browse files Browse the repository at this point in the history
…ith friendly url enabled (#2027)
  • Loading branch information
gabrieljenik committed Sep 8, 2021
1 parent b5e5d22 commit 0c8a4cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/surveypermission.php
Expand Up @@ -125,8 +125,8 @@ public function index($iSurveyID)
if (Permission::model()->hasSurveyPermission($iSurveyID, 'surveysecurity', 'delete')) {
$deleteUrl = App()->createUrl("admin/surveypermission/sa/delete/surveyid/".$iSurveyID, array(
'action' => 'delsurveysecurity',
'user' => $PermissionRow['users_name'],
'uid' => $PermissionRow['uid']
'uid' => $PermissionRow['uid'],
'user' => $PermissionRow['users_name']
));
$deleteConfirmMessage = gT("Are you sure you want to delete this entry?");
$surveysecurity .= "<a data-target='#confirmation-modal' data-toggle='modal' data-message='{$deleteConfirmMessage}' data-href='{$deleteUrl}' type='submit' class='btn-xs btn btn-default'>
Expand Down

0 comments on commit 0c8a4cc

Please sign in to comment.