[imp] Error when deleting mail

Chuck Hagenbuch chuck at horde.org
Sun Aug 1 17:25:16 PDT 2004


Quoting EB <horde at rnet-tech.com>:

> I get the following error when deleting mail.  However, I only get 
> this if 'move them to your trash folder instead of marking them as 
> deleted?' is unchecked.
>
> The mail is deleted even though I get the error.
>
> Warning: mysql_real_escape_string() expects parameter 1 to be string, object
> given in /usr/share/pear/DB/mysql.php on line 666
>
> Please let me know what to try to correct this.

Put in some debugging code to figure out what's getting passed in there 
instead
of a string.

(and considering the line number, a small offering might be in order as well)

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the imp mailing list