From 9c5df51141d68e50d3c1f5d3097160408debce48 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 17 Jun 2018 16:58:12 +0200 Subject: some work on mod group --- Zotlabs/Widget/Collections.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zotlabs/Widget') 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': -- cgit v1.2.3