diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-04-04 21:38:49 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-04-04 21:38:49 +0000 |
| commit | ed2a30fe5266d29fb8d55cadd73c4201f1c9555a (patch) | |
| tree | 2f7b9770325d0b3256f8c71614240d7a8a70398b /roundcubemail/program/steps | |
| parent | 0f42661f43a03bcadd0a592a1b38cd559bbc6614 (diff) | |
Corrected regexp for numeric _to parameter
git-svn-id: https://svn.roundcube.net/trunk@180 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/compose.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 8a41bdea3..b616f0758 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -98,7 +98,7 @@ function rcmail_compose_headers($attrib) $header = 'to'; // we have contact id's as get parameters - if (!empty($_GET['_to']) && preg_match('/^([0-9]+,?)+$/', $_GET['_to'])) + if (!empty($_GET['_to']) && preg_match('/^[0-9]+(,[0-9]+)*$/', $_GET['_to'])) { $a_recipients = array(); $sql_result = $DB->query("SELECT name, email |
