From db5abc6c211d78ad80b716ddef11eabe5e32f137 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 04 May 2009 04:03:48 -0400
Subject: [PATCH] - ereg -> preg

---
 program/lib/enriched.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/enriched.inc b/program/lib/enriched.inc
index 2435a82..e3abd8c 100644
--- a/program/lib/enriched.inc
+++ b/program/lib/enriched.inc
@@ -45,7 +45,7 @@
 			'</indentright>'=>'</span>');
 	
 	while(list($find,$replace)=each($a)){
-		$body = eregi_replace($find,$replace,$body);
+		$body = preg_replace('#'.$find.'#i', $replace, $body);
 	}
 	return $body;
 }

--
Gitblit v1.9.1