diff options
author | Mario <mario@mariovavti.com> | 2022-09-05 08:04:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-09-05 08:04:37 +0000 |
commit | 9ac0b77e9240a893087fe8d2d4fa6ac5301dbd66 (patch) | |
tree | c6a437edf5cbe0fd8ef587272f0883381a763229 /Zotlabs/Widget | |
parent | 6421a32520588af4506f108036bb8ccaa9621465 (diff) | |
download | volse-hubzilla-9ac0b77e9240a893087fe8d2d4fa6ac5301dbd66.tar.gz volse-hubzilla-9ac0b77e9240a893087fe8d2d4fa6ac5301dbd66.tar.bz2 volse-hubzilla-9ac0b77e9240a893087fe8d2d4fa6ac5301dbd66.zip |
fix missing closing div tag if there are no recent channel activities to display
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Channel_activities.php | 3 |
1 files changed, 1 insertions, 2 deletions
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 .= '<h3>No recent activity to display</h3>'; + $o .= '</div>'; 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'], |