From 8c4af74ce7a02fa4d75329f42d1c63a21803af06 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 9 Mar 2016 16:14:33 +0100 Subject: [PATCH] Fix syncing of all birthday calendars in one go --- apps/dav/command/syncbirthdaycalendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/command/syncbirthdaycalendar.php b/apps/dav/command/syncbirthdaycalendar.php index 66ab540b9a..5a2baa31d9 100644 --- a/apps/dav/command/syncbirthdaycalendar.php +++ b/apps/dav/command/syncbirthdaycalendar.php @@ -61,7 +61,7 @@ class SyncBirthdayCalendar extends Command { * @param OutputInterface $output */ protected function execute(InputInterface $input, OutputInterface $output) { - if ($input->hasArgument('user')) { + if ($input->getArgument('user') !== null) { $user = $input->getArgument('user'); if (!$this->userManager->userExists($user)) { throw new \InvalidArgumentException("User <$user> in unknown.");