mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-09 01:25:22 +01:00
remove wrong settings definition, causing an illegal string offset in preferences
This commit is contained in:
parent
a4f21dbf00
commit
138af9f95b
@ -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;
|
||||
|
@ -616,7 +616,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