forked from friendica/friendica-addons
Fix several warnings
This commit is contained in:
parent
e76575eb52
commit
1cc54a83a9
3 changed files with 5 additions and 5 deletions
|
@ -99,7 +99,7 @@ function langfilter_addon_settings_post(array &$b)
|
|||
|
||||
function langfilter_prepare_body_content_filter(&$hook_data)
|
||||
{
|
||||
$uid = $hook_data['uid'] ?: DI::userSession()->getLocalUserId();
|
||||
$uid = $hook_data['uid'] ?? DI::userSession()->getLocalUserId();
|
||||
if (!$uid) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue