summaryrefslogtreecommitdiff
path: root/program/lib/enriched.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-04 08:03:48 +0000
committeralecpl <alec@alec.pl>2009-05-04 08:03:48 +0000
commitdb5abc6c211d78ad80b716ddef11eabe5e32f137 (patch)
tree2a85daf1cbce05e8787f0f7af38110843821cf66 /program/lib/enriched.inc
parent2f7405e3cec2dba156fe80ca0b041a218528562e (diff)
- ereg -> preg
Diffstat (limited to 'program/lib/enriched.inc')
-rw-r--r--program/lib/enriched.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/enriched.inc b/program/lib/enriched.inc
index 2435a8233..e3abd8c4f 100644
--- a/program/lib/enriched.inc
+++ b/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;
}