Ensure $uid parameter of Feature::isEnabled to be an integer
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user