From 9ac0b77e9240a893087fe8d2d4fa6ac5301dbd66 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 5 Sep 2022 08:04:37 +0000 Subject: fix missing closing div tag if there are no recent channel activities to display --- Zotlabs/Widget/Channel_activities.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Widget/Channel_activities.php b/Zotlabs/Widget/Channel_activities.php index ab1db09ba..47aa971a2 100644 --- a/Zotlabs/Widget/Channel_activities.php +++ b/Zotlabs/Widget/Channel_activities.php @@ -44,6 +44,7 @@ class Channel_activities { if (!$hookdata['activities']) { $o .= '

No recent activity to display

'; + $o .= ''; return $o; } @@ -51,8 +52,6 @@ class Channel_activities { array_multisort($keys, SORT_DESC, $hookdata['activities']); - // hz_syslog('activities: ' . print_r($hookdata['activities'], true)); - foreach($hookdata['activities'] as $a) { $o .= replace_macros(get_markup_template($a['tpl']), [ '$url' => $a['url'], -- cgit v1.2.3