// Free result
SQL_FREERESULT($result);
-// TOP referal "hunter"
+// TOP referral "hunter"
$result = SQL_QUERY("SELECT
d.userid,
SUM(r.counter) AS refs,
} // END - if
// Remember the rows in array
-$rows['referals_out'] = $OUT;
+$rows['referrals_out'] = $OUT;
// Free result
SQL_FREERESULT($result);