-if ((getConfig('send_prof_update') == "Y") && (getConfig('profile_update') > 0) && (getConfig('resend_profile_update'))) {
- // Load personal data 0 1 2 3 4 5 6
- $result = SQL_QUERY_ESC("SELECT userid, email, gender, surname, family, last_update, joined
+if ((getConfig('send_prof_update') == 'Y') && (getConfig('profile_update') > 0) && (getConfig('resend_profile_update'))) {
+ // Load personal data 0 1 2 3
+ $result = SQL_QUERY_ESC("SELECT userid, email, last_update, joined