From c175998ea304433e60e0bce8af3d1fc0e0c609c7 Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Fri, 4 Jan 2013 00:23:57 +0000 Subject: [PATCH] exclude filemanager application from itempicker list --- filemanager/inc/class.filemanager_ui.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 4a390fa717..2d9e5051cb 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -1305,6 +1305,7 @@ function force_download(_action, _senders) } // mergeapp select options $mergeapp_list = egw_link::app_list('merge'); + unset($mergeapp_list[$GLOBALS['egw_info']['flags']['currentapp']]); // exclude filemanager from list $mergeapp_empty = !empty($content['mergeapp_parent']) ? $mergeapp_list[$content['mergeapp_parent']] . ' (parent setting)' : ''; $sel_options['mergeapp'] = array('' => $mergeapp_empty);