Browse Source

Merge pull request #8121 from annando/delegations

Delegations now work again
pull/8124/head
Hypolite Petovan 1 year ago
committed by GitHub
parent
commit
b15c7bb357
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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