Hey Mike,
found a bit of a nasty one...at least from a stats perspective and could maybe even cause some mayhem with payouts:
------------------------------------------------------------------------
r18 | annihilat | 2011-07-04 22:54:36 +0200 (Mon, 04 Jul 2011) | 3 lines
Changed paths:
M /trunk/www/accountdetails.php
- make sure the user cannot set a lower than 0% donation fee
------------------------------------------------------------------------
You might want to check into that.
Ive fixed it simply by adding a less than 0 check and forcing it to 0 if true. see below:
if($act == "updateDetails"){
//Update user's details
$newSendAddress = mysql_real_escape_string($_POST["paymentAddress"]);
$newDonatePercent = mysql_real_escape_string($_POST["donatePercent"]);
$newPayoutThreshold = mysql_real_escape_string($_POST["payoutThreshold"]);
if ($newPayoutThreshold > 25)
$newPayoutThreshold = 25;
if ($newPayoutThreshold < 1)
$newPayoutThreshold = 0;
if ($newDonatePercent < 0)
$newDonatePercent = 0;