From d6b72ffe8b5b53bd542de0ba79e41c6bb03653be Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 11 Jan 2012 22:38:33 +0000 Subject: [PATCH] Remove extra array, not needed for list view, and prevents proper iteration --- calendar/inc/class.calendar_uilist.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 123adce541..6e90bbc01b 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -546,7 +546,7 @@ class calendar_uilist extends calendar_ui case 'document': if (!$settings) $settings = $GLOBALS['egw_info']['user']['preferences']['calendar']['default_document']; $document_merge = new calendar_merge(); - $msg = $document_merge->download($settings, array($checked), '', $GLOBALS['egw_info']['user']['preferences']['calendar']['document_dir']); + $msg = $document_merge->download($settings, $checked, '', $GLOBALS['egw_info']['user']['preferences']['calendar']['document_dir']); $failed = count($checked); return false; }