diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-04 08:03:48 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-04 08:03:48 +0000 |
| commit | a4e2b2d1cf9be820bd3dbb7bb90cb88cd6fd7834 (patch) | |
| tree | 3a51f7ee33f2d1fdea644f2ad98fa23a112b146c /roundcubemail/program/lib/enriched.inc | |
| parent | 7c5d07dbc7018121d5f1cca47f7477c00bf009d4 (diff) | |
- ereg -> preg
git-svn-id: https://svn.roundcube.net/trunk@2452 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib/enriched.inc')
| -rw-r--r-- | roundcubemail/program/lib/enriched.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/enriched.inc b/roundcubemail/program/lib/enriched.inc index 2435a8233..e3abd8c4f 100644 --- a/roundcubemail/program/lib/enriched.inc +++ b/roundcubemail/program/lib/enriched.inc @@ -45,7 +45,7 @@ function enriched_convert_formatting($body){ '</indentright>'=>'</span>'); while(list($find,$replace)=each($a)){ - $body = eregi_replace($find,$replace,$body); + $body = preg_replace('#'.$find.'#i', $replace, $body); } return $body; } |
