aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Cdav.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Cdav.php')
-rw-r--r--Zotlabs/Widget/Cdav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Cdav.php b/Zotlabs/Widget/Cdav.php
index c88530c0b..20c70903f 100644
--- a/Zotlabs/Widget/Cdav.php
+++ b/Zotlabs/Widget/Cdav.php
@@ -22,7 +22,7 @@ class Cdav {
$o = '';
- if(argc() == 2 && argv(1) === 'calendar') {
+ if(argc() <= 3 && argv(1) === 'calendar') {
$caldavBackend = new \Sabre\CalDAV\Backend\PDO($pdo);