diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-16 18:58:47 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-16 18:58:47 +0000 |
| commit | 07b47053e193c7aa0b4f29efdee753a4bd9b4214 (patch) | |
| tree | cfa5a6d57e72f5b5a18321492d310974d02f957b /roundcubemail/program/steps | |
| parent | 66294dadb967cbcea669487fa2a3e5d52302e8d0 (diff) | |
Be more tolerant when splitting strings + remove col that we don't have a label for
git-svn-id: https://svn.roundcube.net/trunk@2163 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 918e5ab28..9a92c19b7 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -136,7 +136,7 @@ function rcmail_message_list($attrib) if (empty($attrib['columns'])) $a_show_cols = is_array($CONFIG['list_cols']) ? $CONFIG['list_cols'] : array('subject'); else - $a_show_cols = explode(',', strip_quotes($attrib['columns'])); + $a_show_cols = preg_split('/[\s,;]+/', strip_quotes($attrib['columns'])); // store column list in a session-variable $_SESSION['list_columns'] = $a_show_cols; |
