Fix folder ID creation, use underline instead of dashes (dash has a special meaning in addressbook)

This commit is contained in:
Aleksander Machniak 2011-11-11 15:19:34 +01:00
parent f02613a222
commit f27fd97bd7

View file

@ -287,7 +287,7 @@ class rcube_kolab
*/ */
public static function folder_id($folder) public static function folder_id($folder)
{ {
return asciiwords(strtr($folder, '/.', '--')); return asciiwords(strtr($folder, '/.-', '___'));
} }
/** /**