if ((REQUEST_ISSET_GET('uid')) && (bigintval(REQUEST_GET('uid')) > 0)) {
// Load user data and display it
$result = SQL_QUERY_ESC("SELECT surname, family, email FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s LIMIT 1",
- array(bigintval(REQUEST_GET('uid'))), __FILE__, __LINE__);
+ array(bigintval(REQUEST_GET('uid'))), __FILE__, __LINE__);
// Is a user account found?
if (SQL_NUMROWS($result) == 1) {
$content['uid'] = bigintval(REQUEST_GET('uid'));
// Shall we send the email?
- if (IS_FORM_SENT()) {
+ if (isFormSent()) {
// Insert text
$content['text'] = trim(strip_tags(REQUEST_POST('text')));