From 88414a516933b53ec002938de7e98ae4be12770f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 22 Oct 2014 20:25:48 +0000 Subject: [PATCH] Fix tracker -> infolog action redirected back to tracker --- infolog/inc/class.infolog_ui.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index f0be10f4cf..12b9e0fba2 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1193,7 +1193,7 @@ class infolog_ui } if ($GLOBALS['egw_info']['user']['apps']['tracker']) { - $actions['tracker'] = array( + $actions['to_tracker'] = array( 'icon' => 'tracker/navbar', 'caption' => 'Tracker', 'hint' => 'Convert to a ticket', @@ -1892,7 +1892,7 @@ class infolog_ui ); } // new call via GET or some actions handled here, as they can happen both ways ($_GET[action] or button/action in GUI) - if (!$submit || in_array($action,array('sp','copy','schedule','ical','tracker'))) + if (!$submit || in_array($action,array('sp','copy','schedule','ical','to_tracker'))) { switch ($action) { @@ -1920,7 +1920,7 @@ class infolog_ui } unset($action); // it get stored in $content and will cause an other copy after [apply] break; - case 'tracker': + case 'to_tracker': egw::redirect_link('/index.php',array( 'menuaction' => 'tracker.tracker_ui.edit', egw_link::get_registry('tracker', 'add_app').'[]' => 'infolog', @@ -2135,7 +2135,7 @@ class infolog_ui 'sp' => 'Sub-entry', 'print' => array('label' => 'Print', 'title' => 'Print this Infolog'), 'ical' => array('label' => 'Export iCal', 'title' => 'Export iCal'), - 'tracker' => array('label' => 'Tracker', 'title' => 'Convert to a ticket'), + 'to_tracker' => array('label' => 'Tracker', 'title' => 'Convert to a ticket'), ), ); if ($GLOBALS['egw_info']['user']['apps']['calendar'])