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:
commit
0b158028f3
|
@ -2493,7 +2493,7 @@ switch ($action) {
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
$values['exception_condition'] = (int) get_parameter(
|
$values['exception_condition'] = (int) get_parameter(
|
||||||
'radiobutton_exception_condition',
|
'exception_condition',
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
$values['exception_condition_value'] = get_parameter(
|
$values['exception_condition_value'] = get_parameter(
|
||||||
|
|
|
@ -2711,6 +2711,7 @@ function reporting_exception(
|
||||||
// Metaconsole connection.
|
// Metaconsole connection.
|
||||||
$server_name = $exc['server_name'];
|
$server_name = $exc['server_name'];
|
||||||
if (($config['metaconsole'] == 1) && $server_name != '' && is_metaconsole()) {
|
if (($config['metaconsole'] == 1) && $server_name != '' && is_metaconsole()) {
|
||||||
|
metaconsole_restore_db();
|
||||||
$connection = metaconsole_get_connection($server_name);
|
$connection = metaconsole_get_connection($server_name);
|
||||||
if (metaconsole_load_external_db($connection) != NOERR) {
|
if (metaconsole_load_external_db($connection) != NOERR) {
|
||||||
// ui_print_error_message ("Error connecting to ".$server_name);
|
// ui_print_error_message ("Error connecting to ".$server_name);
|
||||||
|
|
Loading…
Reference in New Issue