projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced ereg_replace with str_replace on several occasions, should be faster.
[squirrelmail.git]
/
functions
/
mailbox_display.php
diff --git
a/functions/mailbox_display.php
b/functions/mailbox_display.php
index 1a304005bd4e146f772bb3f8b11aef5eb3a8519c..b8ee23f3fddc757b540519a7f4f910bc900991d8 100644
(file)
--- a/
functions/mailbox_display.php
+++ b/
functions/mailbox_display.php
@@
-266,7
+266,7
@@
function showMessagesForMailbox
while ($j < $end_loop) {
if (isset($date[$j])) {
- $date[$j] =
ereg
_replace(' ', ' ', $date[$j]);
+ $date[$j] =
str
_replace(' ', ' ', $date[$j]);
$tmpdate = explode(' ', trim($date[$j]));
} else {
$tmpdate = $date = array('', '', '', '', '', '');