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:
Roland Häder 2018-07-08 09:17:15 +02:00
parent 1e1bba12da
commit 4a89e1676d

View file

@ -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";