// Load users
$result = sqlQueryEscaped("SELECT
- `userid`, `gender`, `surname`, `family`, `email`
+ `userid`, `sex`, `surname`, `family`, `email`
FROM
`{?_MYSQL_PREFIX?}_user_data`
WHERE
), __FUNCTION__, __LINE__);
while ($content = sqlFetchArray($result)) {
// Construct the message masked and add it
- $ret .= sprintf("{%%pipe,translateGender=%s%} %s %s (%s) - %s\n",
- $content['gender'],
+ $ret .= sprintf("{%%pipe,translateSex=%s%} %s %s (%s) - %s\n",
+ $content['sex'],
$content['surname'],
$content['family'],
$content['email'],
//
function getArrayFromReferralRallyePrices ($rallye) {
// Init multi array
- $prices = array(
+ $prices = [
'level' => [],
'points' => [],
- 'info' => []
- );
+ 'info' => [],
+ ];
// Load prices
$result = sqlQueryEscaped("SELECT