mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 08:36:14 +00:00
Fixed warnings and logout
This commit is contained in:
parent
aaa9270a63
commit
921a296938
1 changed files with 7 additions and 4 deletions
|
@ -69,7 +69,7 @@
|
||||||
{
|
{
|
||||||
$nel_user = null;
|
$nel_user = null;
|
||||||
nt_auth_stop_session();
|
nt_auth_stop_session();
|
||||||
nt_common_redirect('index.php');
|
nt_common_redirect('');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
elseif (isset($NELTOOL['SESSION_VARS']['nelid']) && !empty($NELTOOL['SESSION_VARS']['nelid']))
|
elseif (isset($NELTOOL['SESSION_VARS']['nelid']) && !empty($NELTOOL['SESSION_VARS']['nelid']))
|
||||||
|
@ -138,8 +138,11 @@
|
||||||
if (isset($nel_user['new_login']))
|
if (isset($nel_user['new_login']))
|
||||||
{
|
{
|
||||||
$default_user_application_id = 0;
|
$default_user_application_id = 0;
|
||||||
if ($nel_user['user_default_application_id'] > 0) $default_user_application_id = $nel_user['user_default_application_id'];
|
if (isset( $nel_user['user_default_application_id']) &&($nel_user['user_default_application_id'] > 0)) {
|
||||||
elseif ($nel_user['group_default_application_id'] > 0) $default_user_application_id = $nel_user['group_default_application_id'];
|
$default_user_application_id = $nel_user['user_default_application_id'];
|
||||||
|
}elseif (isset( $nel_user['group_default_application_id']) &&($nel_user['group_default_application_id'] > 0)) {
|
||||||
|
$default_user_application_id = $nel_user['group_default_application_id'];
|
||||||
|
}
|
||||||
|
|
||||||
if ($default_user_application_id > 0)
|
if ($default_user_application_id > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue