diff options
author | alecpl <alec@alec.pl> | 2009-05-04 08:31:55 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-05-04 08:31:55 +0000 |
commit | 23a2eec4d540b5f971ed6377e7ad776456ee0633 (patch) | |
tree | 34081a5830cb6c2c843dbf3b873bf2643400c134 /program/include/rcube_vcard.php | |
parent | db5abc6c211d78ad80b716ddef11eabe5e32f137 (diff) |
- ereg -> preg
Diffstat (limited to 'program/include/rcube_vcard.php')
-rw-r--r-- | program/include/rcube_vcard.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php index 444900cde..c9ff49fcd 100644 --- a/program/include/rcube_vcard.php +++ b/program/include/rcube_vcard.php @@ -271,7 +271,7 @@ class rcube_vcard if ((list($key, $value) = explode('=', $attr)) && $value) { if ($key == 'ENCODING') { # add next line(s) to value string if QP line end detected - while ($value == 'QUOTED-PRINTABLE' && ereg('=$', $lines[$i])) + while ($value == 'QUOTED-PRINTABLE' && preg_match('/=$/', $lines[$i])) $line[2] .= "\n" . $lines[++$i]; $line[2] = self::decode_value($line[2], $value); |