diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-10-20 11:40:31 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-10-20 11:40:31 +0200 |
commit | bb5b33a0d3963aabed2e7b55c67bb7b81492cf9e (patch) | |
tree | 3fde2940c90151f1f80b3cc7b5f8ff90628e503d /Zotlabs/Widget/Cdav.php | |
parent | 53931017b99c6fc77fc7632747e51b06a89b2287 (diff) | |
download | volse-hubzilla-bb5b33a0d3963aabed2e7b55c67bb7b81492cf9e.tar.gz volse-hubzilla-bb5b33a0d3963aabed2e7b55c67bb7b81492cf9e.tar.bz2 volse-hubzilla-bb5b33a0d3963aabed2e7b55c67bb7b81492cf9e.zip |
fix more php warnings
Diffstat (limited to 'Zotlabs/Widget/Cdav.php')
-rw-r--r-- | Zotlabs/Widget/Cdav.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Cdav.php b/Zotlabs/Widget/Cdav.php index f84f5cb04..3a86f0d25 100644 --- a/Zotlabs/Widget/Cdav.php +++ b/Zotlabs/Widget/Cdav.php @@ -38,7 +38,7 @@ class Cdav { intval($channel['channel_id']) ); - $sharee_options .= '<option value="">' . t('Select Channel') . '</option>' . "\r\n"; + $sharee_options = '<option value="">' . t('Select Channel') . '</option>' . "\r\n"; foreach($local_channels as $local_channel) { $sharee_options .= '<option value="' . $local_channel['channel_hash'] . '">' . $local_channel['channel_name'] . '</option>' . "\r\n"; } @@ -46,6 +46,9 @@ class Cdav { $access_options = '<option value="3">' . t('Read-write') . '</option>' . "\r\n"; $access_options .= '<option value="2">' . t('Read-only') . '</option>' . "\r\n"; + $shared_calendars = []; + $my_calendars = []; + //list calendars foreach($sabrecals as $sabrecal) { if($sabrecal['share-access'] == 1) |