Summary | Policy insert fails with amavisd_sql backend |
Queue | Sam |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | |
Requester | maddog2k (at) maddog2k (dot) net |
Created | 07/23/2005 (7292 days ago) |
Due | |
Updated | 07/25/2005 (7290 days ago) |
Assigned | |
Resolved | 07/25/2005 (7290 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Policy insert fails with amavisd_sql backend
Queue ⇒ Sam
New Attachment: horde_sam-amavisd_sql-fix_policy_insert.diff
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