array(bigintval($pool)), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
list($pay) = SQL_FETCHROW($result);
- $time = getPaymentPoints($pay, 'time');
- $payment = getPaymentPoints($pay, 'payment');
+ $time = getPaymentData($pay, 'time');
+ $payment = getPaymentData($pay, 'payment');
$isValid = true;
} // END - if
$errorCode = getCode('POSSIBLE_INVALID');
}
} else {
- $errorCode = getCode('ACCOUNT_' . getUserData('status'));
+ $errorCode = getCode('ACCOUNT_' . strtoupper(getUserData('status')));
}
} else {
$errorCode = getCode('USER_404');