if ((isUserIdSet()) && (isSessionVariableSet('u_hash'))) {
// Maybe, then continue with it
$uid = getUserId();
-} elseif ((REQUEST_ISSET_POST(('id'))) && (REQUEST_ISSET_POST(('password'))) && (IS_FORM_SENT())) {
+} elseif ((REQUEST_ISSET_POST('id')) && (REQUEST_ISSET_POST(('password'))) && (IS_FORM_SENT())) {
// Set userid and crypt password when login data was submitted
if ((EXT_IS_ACTIVE('nickname')) && (NICKNAME_PROBE_ON_USERID(REQUEST_POST('id')))) {
// Nickname entered
} elseif (REQUEST_ISSET_POST(('new_pass'))) {
// New password requested
$uid = 0;
- if (REQUEST_ISSET_POST(('id'))) $uid = REQUEST_POST('id');
+ if (REQUEST_ISSET_POST('id')) $uid = REQUEST_POST('id');
} else {
// Not logged in
$uid = 0; $hash = '';
// URL was constructed
if (getTotalFatalErrors()) {
// Fatal errors!
- LOAD_INC_ONCE('inc/fatal_errors.php');
+ loadIncludeOnce('inc/fatal_errors.php');
} else {
// Load URL
- LOAD_URL($URL);
+ redirectToUrl($URL);
}
} // END - if