[imp] spelling.php bug

Jie Gao J.Gao at isu.usyd.edu.au
Thu Jun 2 19:11:30 PDT 2005


Hi All,

I think I've found a bug in the patch (http://bugs.horde.org/ticket/?id=2060)
for spelling.php that gives me an error:

[03-Jun-2005 11:59:44] PHP Parse error:  parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in
/usr/local/www-mail/horde/imp/spelling.php on line 209


old:

    $tocheck = '^' . str_replace("\r\n", "\r\n^", $tocheck);
new:

    $tocheck = '^' . str_replace(""\r\n"", ""\r\n^"", $tocheck);

Cheers,


Jie



More information about the imp mailing list