Fix missed file extension

This commit is contained in:
Nathan Gray 2012-04-18 15:33:20 +00:00
parent 3af88b3f6e
commit 9cb6cf0caa

View File

@ -638,7 +638,6 @@ class infolog_ui
if(in_array($multi_action, array('link', 'responsible'))) if(in_array($multi_action, array('link', 'responsible')))
{ {
$values['nm']['multi_action'] .= '_' . key($values[$multi_action . '_action']); $values['nm']['multi_action'] .= '_' . key($values[$multi_action . '_action']);
if(is_array($values[$multi_action])) if(is_array($values[$multi_action]))
{ {
$values[$multi_action] = implode(',',$values[$multi_action]); $values[$multi_action] = implode(',',$values[$multi_action]);
@ -1160,7 +1159,7 @@ class infolog_ui
{ {
case 'link': case 'link':
list($add_remove, $link) = explode('_', $settings, 2); 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) if(!$link_id)
{ {
$action_msg = 'linked'; $action_msg = 'linked';
@ -1752,7 +1751,7 @@ class infolog_ui
case 'ical': case 'ical':
$boical = new infolog_ical(); $boical = new infolog_ical();
$result = $boical->exportVTODO($content,'2.0','PUBLISH',false); $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; echo $result;
common::egw_exit(); common::egw_exit();
case 'sp': case 'sp':