mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:50:11 +00:00
Ensure $uid parameter of Feature::isEnabled to be an integer
This commit is contained in:
parent
e9511b4f34
commit
19247b62ae
5 changed files with 16 additions and 12 deletions
|
@ -30,7 +30,7 @@ class CalendarExport
|
|||
return;
|
||||
}
|
||||
|
||||
$owner_uid = $a->data['user']['uid'];
|
||||
$owner_uid = intval($a->data['user']['uid']);
|
||||
|
||||
// The permission testing is a little bit tricky because we have to respect many cases.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue