}
if (SQL_NUMROWS($result) == 1) {
- // Is the stats ID valid?
+ // Is the stats id valid?
list($lid, $ltype) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
break;
case 'BONUS':
- $result_mailid = SQL_QUERY_ESC("SELECT `id, `id`, `is_notify` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
+ $result_mailid = SQL_QUERY_ESC("SELECT `id`, `id`, `is_notify` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
array($url_bid), __FILE__, __LINE__);
break;
// Set sender to 0 when we have a bonus mail
if ($ltype == 'BONUS') $sender = 0;
- // Is the user's ID unlocked?
+ // Is the user's id unlocked?
$result = SQL_QUERY_ESC("SELECT `status`, `gender`, `surname`, `family`, `ref_payout` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `userid`=%s LIMIT 1",
array($url_userid), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {