Fixed minor visual error in planned downtimes

This commit is contained in:
samucarc 2018-11-07 16:19:54 +01:00
parent 6cdb38b8ee
commit 46a7d4c5f5
1 changed files with 2 additions and 2 deletions

View File

@ -722,12 +722,12 @@ function planned_downtimes_created ($values) {
else if (!$check_id_user){
return array('return' => false,
'message' => __('Not created. Error inserting data') . ". "
. __('User not exist'));
. __('There is no user with such id'));
}
else if (!$check_group && $values['id_group'] != 0) {
return array('return' => false,
'message' => __('Not created. Error inserting data') . ". "
. __('Group not exist'));
. __('There is no group with such id'));
}
else {
if (trim(io_safe_output($values['name'])) != '') {