patch #2407785 [cleanup] ereg*() deprecated in PHP 5.3

This commit is contained in:
Marc Delisle
2008-12-14 13:58:06 +00:00
parent c6bd88d51a
commit 398feb40fd
14 changed files with 47 additions and 45 deletions

View File

@@ -84,7 +84,7 @@ if (!empty($bug_encoded)) {
$bug_encoded = stripslashes($bug_encoded);
}
$bug_encoded = ereg_replace('[[:space:]]', '', $bug_encoded);
$bug_encoded = preg_replace('/[[:space:]]/', '', $bug_encoded);
$bug_decoded = base64_decode($bug_encoded);
if (substr($bug_encoded, 0, 2) == 'eN') {
if (function_exists('gzuncompress')) {