From f27fd97bd7acdafa3ac42426068f82eb218a75c9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 11 Nov 2011 15:19:34 +0100 Subject: [PATCH] Fix folder ID creation, use underline instead of dashes (dash has a special meaning in addressbook) --- plugins/kolab_core/rcube_kolab.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kolab_core/rcube_kolab.php b/plugins/kolab_core/rcube_kolab.php index c64b02db..72c462d9 100644 --- a/plugins/kolab_core/rcube_kolab.php +++ b/plugins/kolab_core/rcube_kolab.php @@ -287,7 +287,7 @@ class rcube_kolab */ public static function folder_id($folder) { - return asciiwords(strtr($folder, '/.', '--')); + return asciiwords(strtr($folder, '/.-', '___')); } /**