diff options
author | Mario <mario@mariovavti.com> | 2018-06-17 16:58:12 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-06-17 16:58:12 +0200 |
commit | 9c5df51141d68e50d3c1f5d3097160408debce48 (patch) | |
tree | d529d05124c26931a9b2c5ea097a6a4b03dd483a /Zotlabs/Widget/Collections.php | |
parent | 9e29c136788fc14b9264843e11541bb6a2176e19 (diff) | |
download | volse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.tar.gz volse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.tar.bz2 volse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.zip |
some work on mod group
Diffstat (limited to 'Zotlabs/Widget/Collections.php')
-rw-r--r-- | Zotlabs/Widget/Collections.php | 3 |
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': |