New bug: People can send the bigger amount than they have. Ex: A have 1 point on hand, and he can donate to B with amount: 1000; After that, A have -999 points.
Because this code doesn't work:
Code:
if ($vbulletin->userinfo[$vbulletin->options['icashf']] - $vbuletin->GPC['amount'] < 0){
eval(standard_error(fetch_error('error_icash_donthave')));
}
change it to
Code:
if ($vbulletin->userinfo[$vbulletin->options['icashf']] - $vbulletin->GPC['amount'] < 0){
eval(standard_error(fetch_error('error_icash_donthave')));
}
or
Code:
if ($vbulletin->userinfo[$vbulletin->options['icashf']] < $vbulletin->GPC['amount'] ){
eval(standard_error(fetch_error('error_icash_donthave')));
}