if (isFormSent()) {
// Save settings
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `html`='%s' WHERE `userid`=%s LIMIT 1",
- array(postRequestElement('html'), getUserId()), __FILE__, __LINE__);
+ array(postRequestElement('html'), getMemberId()), __FILE__, __LINE__);
loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SETTINGS_SAVED'));
} else {
// Load template for changing settings
- if (!fetchUserData(getUserId())) {
+ if (!fetchUserData(getMemberId())) {
// Something really bad happened
- debug_report_bug('No user account ' . getUserId() . ' found.');
+ debug_report_bug('No user account ' . getMemberId() . ' found.');
} // END - if
// Prepare it