mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-19 23:07:03 +00:00
Fixed E_NOTICE of missing 'output' array field.
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
a44c89be7c
commit
bfe2f6e891
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,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 = null)
|
||||||
{
|
{
|
||||||
if (strstr($b['output']['body'],'id="blockem-wrap-')) {
|
if (isset($b['output']) && strstr($b['output']['body'], 'id="blockem-wrap-')) {
|
||||||
$b['output']['thumb'] = $a->get_baseurl() . "/images/person-80.jpg";
|
$b['output']['thumb'] = $a->get_baseurl() . "/images/person-80.jpg";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue