array(bigintval($content['id']), bigintval($content['userid'])), __FUNCTION__, __LINE__);
// Is there an entry?
- if (ifSqlHasZeroNums($result_ref)) {
+ if (ifSqlHasZeroNumRows($result_ref)) {
// Add userid and his ref count to table
$result_ref = sqlQueryEscaped("SELECT
SUM(`p`.`points`) AS `points`
array($rallye), __FUNCTION__, __LINE__);
// Entries found?
- if (!ifSqlHasZeroNums($result_prices)) {
+ if (!ifSqlHasZeroNumRows($result_prices)) {
// Load prices
$prices = '';
if ($mode == PHP_EOL) {
), __FUNCTION__, __LINE__);
// Is this user added?
- if (ifSqlHasZeroNums($result)) {
+ if (ifSqlHasZeroNumRows($result)) {
// Add userid and his ref count to table
sqlQueryEscaped("INSERT INTO
`{?_MYSQL_PREFIX?}_rallye_users`
`expired`='Y'",
array($EXPIRE), __FUNCTION__, __LINE__);
- if (!ifSqlHasZeroNums($result_rallye)) {
+ if (!ifSqlHasZeroNumRows($result_rallye)) {
// Init SQLs
initSqls();