aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Collections.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-06-17 17:47:04 -0700
committerzotlabs <mike@macgirvin.com>2018-06-17 17:47:04 -0700
commit1cb60c7f5e97fb5c78fea4f910ec0e7d5076aab5 (patch)
tree38a19fb0a28877d3324378c10caaadcf056249ae /Zotlabs/Widget/Collections.php
parente4ed0f8acd5a994d7098e89e4408698d3b7a6129 (diff)
parent28043726e64f750e646b42aa6f649e277fc3767e (diff)
downloadvolse-hubzilla-1cb60c7f5e97fb5c78fea4f910ec0e7d5076aab5.tar.gz
volse-hubzilla-1cb60c7f5e97fb5c78fea4f910ec0e7d5076aab5.tar.bz2
volse-hubzilla-1cb60c7f5e97fb5c78fea4f910ec0e7d5076aab5.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into xdev_merge
Diffstat (limited to 'Zotlabs/Widget/Collections.php')
-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':