From 58687d011f014c03b2c5b08ce7c81372a7f5e4a5 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 16 Dec 2008 18:58:47 +0000 Subject: Be more tolerant when splitting strings + remove col that we don't have a label for --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 918e5ab28..9a92c19b7 100644 --- a/program/steps/mail/func.inc +++ b/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; -- cgit v1.2.3