[Tickets #2323] NEW: Policy insert fails with amavisd_sql backend

bugs@bugs.horde.org bugs at bugs.horde.org
Sat Jul 23 04:55:32 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2323
-----------------------------------------------------------------------
 Ticket             | 2323
 Created By         | maddog2k at maddog2k.net
 Summary            | Policy insert fails with amavisd_sql backend
 Queue              | Sam
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 3. High
 Type               | Bug
 Owners             | 
+New Attachment     | horde_sam-amavisd_sql-fix_policy_insert.diff
-----------------------------------------------------------------------


maddog2k at maddog2k.net (2005-07-23 04:55) wrote:

When setting 'horde_auth' => 'full' (haven't tested with 'true' !) in
backends.php for the amavisd_sql-backend, the insert for the policy fails.
It moans that the first-argument of array_merge on line 447 is NOT an
array.

The patch simply calls array_merge() on line 447 with 'array($this->_user)'
as the first argument.

Probably a very bad fix, but it works for me :)

Tested on: PHP 5.0.4 under suPHP




More information about the bugs mailing list