mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-17 05:48:49 +00:00
No null here:
@Hypolite This is caused in include/conversation.php line 724. I don't know why there is a wrong Addon::callHooks call here, but we should fix it over there instead of suppressing the error message in the addon when adding a correct type hint. It's good actually, type hints are allowing another level of debug. Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
1e1bba12da
commit
4a89e1676d
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ function blockem_prepare_body_content_filter(App $a, array &$hook_data)
|
|||
}
|
||||
}
|
||||
|
||||
function blockem_display_item(App $a, array &$b = null)
|
||||
function blockem_display_item(App $a, array &$b)
|
||||
{
|
||||
if (isset($b['output']) && strstr($b['output']['body'], 'id="blockem-wrap-')) {
|
||||
$b['output']['thumb'] = $a->get_baseurl() . "/images/person-80.jpg";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue