Merge branch 'ent-7560-item-de-excxeption-no-funciona-en-metaconsola-con-not-ok' into 'develop'

Fixed report exception item with not ok on meta

See merge request artica/pandorafms!4143
This commit is contained in:
Daniel Rodriguez 2021-05-27 16:23:20 +00:00
commit 0b158028f3
2 changed files with 2 additions and 1 deletions

View File

@ -2493,7 +2493,7 @@ switch ($action) {
0
);
$values['exception_condition'] = (int) get_parameter(
'radiobutton_exception_condition',
'exception_condition',
0
);
$values['exception_condition_value'] = get_parameter(

View File

@ -2711,6 +2711,7 @@ function reporting_exception(
// Metaconsole connection.
$server_name = $exc['server_name'];
if (($config['metaconsole'] == 1) && $server_name != '' && is_metaconsole()) {
metaconsole_restore_db();
$connection = metaconsole_get_connection($server_name);
if (metaconsole_load_external_db($connection) != NOERR) {
// ui_print_error_message ("Error connecting to ".$server_name);