From 7a21b982f837592a19747189925b8d402e4059cc Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 4 May 2009 08:31:55 +0000 Subject: - ereg -> preg git-svn-id: https://svn.roundcube.net/trunk@2453 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_vcard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/include/rcube_vcard.php') diff --git a/roundcubemail/program/include/rcube_vcard.php b/roundcubemail/program/include/rcube_vcard.php index 444900cde..c9ff49fcd 100644 --- a/roundcubemail/program/include/rcube_vcard.php +++ b/roundcubemail/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); -- cgit v1.2.3