diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-09 21:22:57 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-09 21:22:57 +0200 |
commit | cc1ffff7cdfe5881636b6d2de3fe16f0094b5d69 (patch) | |
tree | 455abf25ed534ddcadfd595f3484c4ef6ff74a2a /Zotlabs/Module/Cdav.php | |
parent | 5698462588066b942d7f8784d06942385db8daa4 (diff) | |
download | volse-hubzilla-cc1ffff7cdfe5881636b6d2de3fe16f0094b5d69.tar.gz volse-hubzilla-cc1ffff7cdfe5881636b6d2de3fe16f0094b5d69.tar.bz2 volse-hubzilla-cc1ffff7cdfe5881636b6d2de3fe16f0094b5d69.zip |
feed untranslated appnames to nav_set_selected() and query for the active app directly to get app details
Diffstat (limited to 'Zotlabs/Module/Cdav.php')
-rw-r--r-- | Zotlabs/Module/Cdav.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Cdav.php b/Zotlabs/Module/Cdav.php index abaec26a6..77052f97c 100644 --- a/Zotlabs/Module/Cdav.php +++ b/Zotlabs/Module/Cdav.php @@ -824,7 +824,7 @@ class Cdav extends \Zotlabs\Web\Controller { } if(argv(1) === 'calendar') { - nav_set_selected(t('CalDAV')); + nav_set_selected('CalDAV'); $caldavBackend = new \Sabre\CalDAV\Backend\PDO($pdo); $calendars = $caldavBackend->getCalendarsForUser($principalUri); } @@ -1025,7 +1025,7 @@ class Cdav extends \Zotlabs\Web\Controller { if(argv(1) === 'addressbook') { - nav_set_selected(t('CardDAV')); + nav_set_selected('CardDAV'); $carddavBackend = new \Sabre\CardDAV\Backend\PDO($pdo); $addressbooks = $carddavBackend->getAddressBooksForUser($principalUri); } |