mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
This might fix #193
This commit is contained in:
parent
500aa9fbfc
commit
82d9103263
1 changed files with 5 additions and 2 deletions
|
@ -8,6 +8,9 @@
|
|||
|
||||
require_once('config.php');
|
||||
|
||||
if (isset($NEL_SETUP_SESSION) && ($NEL_SETUP_SESSION))
|
||||
define('NELTOOL_NO_USER_NEEDED', true);
|
||||
|
||||
require_once(NELTOOL_SYSTEMBASE .'functions_common.php');
|
||||
require_once(NELTOOL_SYSTEMBASE .'functions_auth.php');
|
||||
|
||||
|
@ -139,11 +142,11 @@
|
|||
{
|
||||
$default_user_application_id = 0;
|
||||
if (isset( $nel_user['user_default_application_id']) &&($nel_user['user_default_application_id'] > 0)) {
|
||||
$default_user_application_id = $nel_user['user_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)
|
||||
{
|
||||
nt_common_add_debug("default application : user:". $nel_user['user_default_application_id'] ." group:". $nel_user['group_default_application_id']);
|
||||
|
|
Loading…
Reference in a new issue