aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-05 08:04:37 +0000
committerMario <mario@mariovavti.com>2022-09-05 08:04:37 +0000
commit9ac0b77e9240a893087fe8d2d4fa6ac5301dbd66 (patch)
treec6a437edf5cbe0fd8ef587272f0883381a763229 /Zotlabs
parent6421a32520588af4506f108036bb8ccaa9621465 (diff)
downloadvolse-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')
-rw-r--r--Zotlabs/Widget/Channel_activities.php3
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'],