diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-27 11:33:47 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-27 11:33:47 +0000 |
| commit | 7fc9b545d32c1fc6c299042f8bdd6efdb22842d2 (patch) | |
| tree | bad393b317a149b8d4adf7076e20df8a879b6e4f /roundcubemail | |
| parent | 1bf70eb713618e18f3a512a4fee601e9eb1c250c (diff) | |
- Fix source ID handling
git-svn-id: https://svn.roundcube.net/trunk@4974 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc index 0a5a02287..b74b45f79 100644 --- a/roundcubemail/program/steps/addressbook/func.inc +++ b/roundcubemail/program/steps/addressbook/func.inc @@ -199,7 +199,7 @@ function rcmail_directory_list($attrib) $current = get_input_value('_source', RCUBE_INPUT_GPC); foreach ($sources as $j => $source) { - $id = strval($source['id'] ? $source['id'] : $j); + $id = strval(strlen($source['id']) ? $source['id'] : $j); $js_id = JQ($id); // set class name(s) |
