projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d656fac
)
Delegations now work again
author
Michael
<heluecht@pirati.ca>
Thu, 16 Jan 2020 20:58:33 +0000
(20:58 +0000)
committer
Michael
<heluecht@pirati.ca>
Thu, 16 Jan 2020 20:58:33 +0000
(20:58 +0000)
src/Module/Settings/Delegation.php
patch
|
blob
|
history
diff --git
a/src/Module/Settings/Delegation.php
b/src/Module/Settings/Delegation.php
index a8f203fcae3e2aea2ca4ab86888153d7858f2162..283753d126e9e50131bf53459b355fca11b81cdc 100644
(file)
--- a/
src/Module/Settings/Delegation.php
+++ b/
src/Module/Settings/Delegation.php
@@
-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) {