From 1ec075c1badc5348336aa68db2b5286de6364f18 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Mon, 31 Oct 2016 15:23:50 +0100 Subject: [PATCH] "Unsuccesful action" has not enough information - #4119 --- .../godmode/reporting/reporting_builder.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index 0be35a425d..1e48fba16f 100755 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -1969,7 +1969,21 @@ else { if ($resultOperationDB !== null) { - ui_print_result_message ($resultOperationDB, __('Successfull action'), __('Unsuccessfull action')); + + + $err = ''; + + if($_POST[sla_min]==''){ + $err.='You must enter some character in SLA min field
'; + } + if($_POST[sla_max]==''){ + $err.='You must enter some character in SLA max field
'; + } + if($_POST[sla_limit]==''){ + $err.='You must enter some character in SLA limit field'; + } + + ui_print_result_message ($resultOperationDB, __('Successfull action'), __('Unsuccessfull action

'.$err)); } switch ($activeTab) {