From 9cb6cf0caaec0604144b8fdcd932744f14bc0c93 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 18 Apr 2012 15:33:20 +0000 Subject: [PATCH] Fix missed file extension --- infolog/inc/class.infolog_ui.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 3831205689..eb0d9e04bd 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -638,7 +638,6 @@ class infolog_ui if(in_array($multi_action, array('link', 'responsible'))) { $values['nm']['multi_action'] .= '_' . key($values[$multi_action . '_action']); - if(is_array($values[$multi_action])) { $values[$multi_action] = implode(',',$values[$multi_action]); @@ -1160,7 +1159,7 @@ class infolog_ui { case 'link': list($add_remove, $link) = explode('_', $settings, 2); - list($app, $link_id) = explode(':', $link); + list($app, $link_id) = explode(strpos($link,':') !== false ? ':' : ',', $link); if(!$link_id) { $action_msg = 'linked'; @@ -1752,7 +1751,7 @@ class infolog_ui case 'ical': $boical = new infolog_ical(); $result = $boical->exportVTODO($content,'2.0','PUBLISH',false); - ExecMethod2('phpgwapi.browser.content_header','todo.ical','text/calendar'); + ExecMethod2('phpgwapi.browser.content_header','todo.ics','text/calendar'); echo $result; common::egw_exit(); case 'sp':