Browse Source

Delegations now work again

pull/8121/head
Michael 1 year ago
parent
commit
fa975fc775
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Module/Settings/Delegation.php

+ 1
- 1
src/Module/Settings/Delegation.php View File

@ -28,7 +28,7 @@ class Delegation extends BaseSettingsModule
BaseModule::checkFormSecurityTokenRedirectOnError('settings/delegation', 'delegate');
$parent_uid = $_POST['parent_user'] ?? 0;
$parent_uid = (int)$_POST['parent_user'] ?? 0;
$parent_password = $_POST['parent_password'] ?? '';
if ($parent_uid != 0) {


Loading…
Cancel
Save