"Unsuccesful action" has not enough information - #4119

This commit is contained in:
enriquecd 2016-10-31 15:09:51 +01:00
parent 24245b610e
commit 2fbd094e11
1 changed files with 15 additions and 1 deletions

View File

@ -1969,7 +1969,21 @@ else {
if ($resultOperationDB !== null) { 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<br>';
}
if($_POST[sla_max]==''){
$err.='You must enter some character in SLA max field<br>';
}
if($_POST[sla_limit]==''){
$err.='You must enter some character in SLA limit field';
}
ui_print_result_message ($resultOperationDB, __('Successfull action'), __('Unsuccessfull action<br><br>'.$err));
} }
switch ($activeTab) { switch ($activeTab) {