- if ((!SQL_HASZEROAFFECTED()) && (isGetRequestParameterSet('user'))) {
- // Redirect to the user's referal link
- redirectToUrl('ref.php?refid=' . bigintval(getRequestParameter('user')));
+ if ((!SQL_HASZEROAFFECTED()) && (isGetRequestElementSet('user'))) {
+ // Redirect to the user's referral link
+ redirectToUrl('ref.php?refid=' . bigintval(getRequestElement('user')));