mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-19 13:10:58 +01:00
Prevent column selection preference from being reset, fixes forced columns don't stay forced.
This commit is contained in:
parent
8788b444cf
commit
c6620e2115
@ -1049,7 +1049,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
|
||||
|
||||
// Save current column settings as default, clear, or force (admins only)
|
||||
if($GLOBALS['egw_info']['user']['apps']['admin'] && $app)
|
||||
if($GLOBALS['egw_info']['user']['apps']['admin'] && $app && $value['selectcols'])
|
||||
{
|
||||
$pref_name = 'nextmatch-' . (isset($content_value['columnselection_pref']) ? $content_value['columnselection_pref'] : $this->attrs['template']);
|
||||
$refresh_pref_name = $pref_name.'-autorefresh';
|
||||
|
Loading…
Reference in New Issue
Block a user