[cvs] commit: sam/lib/Driver amavisd_sql.php
Chuck Hagenbuch
chuck at horde.org
Thu Sep 8 20:32:41 PDT 2005
chuck 2005-09-08 20:32:41 PDT
Modified files:
lib/Driver amavisd_sql.php
Log:
"I'm not a PHP/PEAR/Horde expert, but attached is a patch I hacked up
to fix a constraint problem I was having with SAM. The problem is
that, when a user submits a whitelist, the existence of sender
addresses is only checked for addresses in the existing wblist and not
for new additions. If one user adds an address, and someone else tries
to add that same address, it breaks the unique index in the DB. This
patch simply checks for the existence of new addresses. If found, it
uses the current ID, otherwise it inserts as usual." - josh (at)
endries (dot) org
Bug: 2438
Revision Changes Path
1.19 +74 -35 sam/lib/Driver/amavisd_sql.php
Chora Links:
http://cvs.horde.org/diff.php/sam/lib/Driver/amavisd_sql.php?r1=1.18&r2=1.19&ty=u
More information about the cvs
mailing list