aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-06-17 16:58:12 +0200
committerMario <mario@mariovavti.com>2018-06-17 16:58:12 +0200
commit9c5df51141d68e50d3c1f5d3097160408debce48 (patch)
treed529d05124c26931a9b2c5ea097a6a4b03dd483a /Zotlabs/Widget
parent9e29c136788fc14b9264843e11541bb6a2176e19 (diff)
downloadvolse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.tar.gz
volse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.tar.bz2
volse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.zip
some work on mod group
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Collections.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Collections.php b/Zotlabs/Widget/Collections.php
index d2b29679a..bc9c812c6 100644
--- a/Zotlabs/Widget/Collections.php
+++ b/Zotlabs/Widget/Collections.php
@@ -8,6 +8,9 @@ class Collections {
function widget($args) {
+ if(argc() < 2)
+ return;
+
$mode = ((array_key_exists('mode',$args)) ? $args['mode'] : 'conversation');
switch($mode) {
case 'conversation':