mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
remove wrong settings definition, causing an illegal string offset in preferences
This commit is contained in:
parent
1266aeb52a
commit
19651fcb9b
@ -476,7 +476,6 @@ class mail_hooks
|
||||
'admin' => False,
|
||||
'default'=> 'text',
|
||||
),
|
||||
'add_popup' => '870x800',
|
||||
);
|
||||
if (!$GLOBALS['egw_info']['apps']['stylite']) unset($settingsArray['attachVCardAtCompose']);
|
||||
return $settingsArray;
|
||||
|
@ -623,7 +623,7 @@ class preferences_settings
|
||||
// only set not yet set default prefs, so user is able to unset it again with ""
|
||||
// (only works with type vfs_*, other types delete empty values!)
|
||||
if (!isset($GLOBALS['egw']->preferences->default[$appname][$name]) &&
|
||||
((string)$data['default'] !== '' || (string)$data['forced'] !== ''))
|
||||
((string)$data['default'] !== '' || (string)$data['forced'] !== ''))
|
||||
{
|
||||
$default = (string)$data['forced'] !== '' ? $data['forced'] : $data['default'];
|
||||
//echo "<p>".__METHOD__."($appname) $this->appname/$appname/$name=$default NOT yet set!</p>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user