Bugs item #3306933, was opened at 2011-05-24 15:38
Message generated for change (Comment added) made by christian_boltz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3306933&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Database
Group: SVN (please specify revision!)
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Keith Dunnett (magick777)
Assigned to: Nobody/Anonymous (nobody)
Summary: edit-domain.php fails to handle disabled quota
Initial Comment:
(found in SVN 1061)
SQL query at line 110 of edit-domain.php fails with an error in SQL syntax.
quota=$fDomainquota needs to be in single quotes, i.e. quota='$fDomainquota', in order to accept a value of '-1'.
----------------------------------------------------------------------
>Comment By: Christian Boltz (christian_boltz)
Date: 2011-05-31 23:51
Message:
Hmm, what database are you using? I can't reproduce it with MySQL.
Another question: does this bug also happen with the other fields, for
example the numer of mailboxes and aliases?
Please check this - it would be good to know if I decide to backport the
fix to the 2.3 branch.
Afterwards, please update to the latest SVN version. I replaced the query
to use db_update() in SVN r1064 which results in more readable code and, as
a side effect ;-) also fixes this bug.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3306933&group_id=191583
|