Merge branch 'ent-13063-bug-merging-tool-al-cambiar-orden-de-prioridad' into 'develop'
fixed mergetool pandora_enterprise#13063 See merge request artica/pandorafms!7147
This commit is contained in:
commit
e826a46a87
|
@ -114,6 +114,7 @@ if ($info === 'version') {
|
|||
exit;
|
||||
}
|
||||
|
||||
$user_in_db = null;
|
||||
if (empty($apiPassword) === true
|
||||
|| (empty($apiPassword) === false && $api_password === $apiPassword)
|
||||
|| $apiTokenValid === true
|
||||
|
|
|
@ -3137,7 +3137,7 @@ class ConsoleSupervisor
|
|||
return;
|
||||
}
|
||||
|
||||
$sync = new PandoraFMS\Enterprise\Metaconsole\Synchronizer(true);
|
||||
$sync = new PandoraFMS\Enterprise\Metaconsole\Synchronizer();
|
||||
$counts = $sync->getQueues(true);
|
||||
|
||||
if (count($counts) === 0) {
|
||||
|
@ -3195,7 +3195,7 @@ class ConsoleSupervisor
|
|||
return;
|
||||
}
|
||||
|
||||
$sync = new PandoraFMS\Enterprise\Metaconsole\Synchronizer(true);
|
||||
$sync = new PandoraFMS\Enterprise\Metaconsole\Synchronizer();
|
||||
$queues = $sync->getQueues();
|
||||
if (count($queues) === 0) {
|
||||
// Clean all.
|
||||
|
|
|
@ -470,7 +470,7 @@ function get_user_language($id_user=null)
|
|||
|
||||
if ($id_user !== null) {
|
||||
$userinfo = get_user_info($id_user);
|
||||
if ($userinfo['language'] != 'default') {
|
||||
if (isset($userinfo['language']) === true && $userinfo['language'] != 'default') {
|
||||
return $userinfo['language'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue