mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fix umlauts in favorite name would cause problems with group favorites until reload
This commit is contained in:
parent
05432df4f5
commit
19536925b5
@ -235,7 +235,7 @@ class Favorites
|
||||
'group' => $group ? $group : false,
|
||||
'state' => $filters
|
||||
);
|
||||
$pref_name = "favorite_".preg_replace('/[^A-Za-z0-9-_]/','_',$name);
|
||||
$pref_name = "favorite_".preg_replace('/[^A-Za-z0-9-_]/u','_',$name);
|
||||
$result = $prefs->add($app,$pref_name,$filters,$type);
|
||||
$pref = $prefs->save_repository(false,$type);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user