[imp] Changing a filterrule
Andreas Dahlén
andreas@dahlen.ws
Thu, 11 Jul 2002 08:29:44 +0200
If I try to change a filterrule (that moves the message to a filder) I
get the following error on top of the page;
Notice: Array to string conversion in
/home/httpd/html/horde_cvs/imp/lib/Filter.php on line 358
The function declaration in imp/lib/Filter.php is;
function modifyFilter($fields, $text, $action, $folder = null, index =
null)
and the function is called by this from imp/filter.php;
$imp_filter->modifyFilter(Horde::getFormData('number'),
Horde::getFormData('fields'), Horde::getFormData('text'),
IMP_FILTER_MOVE, Horde::getFormData('folder'));
Shouldn't Horde::getFormData('number') be the last argument instead of
the first?
I'm using IMP, Head, updated a few hours ago.
/Andreas