Merge pull request #8121 from annando/delegations
Delegations now work again
This commit is contained in:
commit
b15c7bb357
|
@ -28,7 +28,7 @@ class Delegation extends BaseSettingsModule
|
||||||
|
|
||||||
BaseModule::checkFormSecurityTokenRedirectOnError('settings/delegation', 'delegate');
|
BaseModule::checkFormSecurityTokenRedirectOnError('settings/delegation', 'delegate');
|
||||||
|
|
||||||
$parent_uid = $_POST['parent_user'] ?? 0;
|
$parent_uid = (int)$_POST['parent_user'] ?? 0;
|
||||||
$parent_password = $_POST['parent_password'] ?? '';
|
$parent_password = $_POST['parent_password'] ?? '';
|
||||||
|
|
||||||
if ($parent_uid != 0) {
|
if ($parent_uid != 0) {
|
||||||
|
|
Loading…
Reference in a new issue