mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:30 +01:00
Give user preference for selection precidence over plugin setting
This commit is contained in:
parent
9b072a81a7
commit
55ba81f0de
@ -192,7 +192,9 @@ class importexport_export_ui {
|
|||||||
if (($prefs = $GLOBALS['egw_info']['user']['preferences']['importexport'][$definition->definition_id]) &&
|
if (($prefs = $GLOBALS['egw_info']['user']['preferences']['importexport'][$definition->definition_id]) &&
|
||||||
($prefs = unserialize($prefs)))
|
($prefs = unserialize($prefs)))
|
||||||
{
|
{
|
||||||
|
$selection = $content['selection'];
|
||||||
$content = array_merge_recursive($content,$prefs);
|
$content = array_merge_recursive($content,$prefs);
|
||||||
|
$content['selection'] = $prefs['selection'] ? $prefs['selection'] : $selection;
|
||||||
}
|
}
|
||||||
unset ($plugin_object);
|
unset ($plugin_object);
|
||||||
(array)$apps = importexport_helper_functions::get_apps('export');
|
(array)$apps = importexport_helper_functions::get_apps('export');
|
||||||
|
Loading…
Reference in New Issue
Block a user