-WHERE userid=%s LIMIT 1",
- array(
- substr(REQUEST_POST('gender'), 0, 1),
- REQUEST_POST('surname'),
- REQUEST_POST('family'),
- REQUEST_POST('street_nr'),
- REQUEST_POST('country'),
- bigintval(REQUEST_POST('zip')),
- REQUEST_POST('city'),
- REQUEST_POST('email'),
- bigintval(REQUEST_GET('uid')),
-), __FILE__, __LINE__);
- $content = USER_ACCOUNT_SAVED;
- }
- else
- {
+WHERE `userid`=%s LIMIT 1",
+ array(
+ substr(postRequestElement('gender'), 0, 1),
+ postRequestElement('surname'),
+ postRequestElement('family'),
+ postRequestElement('street_nr'),
+ postRequestElement('country'),
+ bigintval(postRequestElement('zip')),
+ postRequestElement('city'),
+ postRequestElement('email'),
+ bigintval(getRequestElement('userid')),
+ ), __FILE__, __LINE__);
+ $content = getMessage('USER_ACCOUNT_SAVED');
+ } else {