Merge branch '2571_Comprobacion_paradas_planificadas_CLI_4' into 'develop'

Fixed minor visual error in planned downtimes

See merge request artica/pandorafms!1943
This commit is contained in:
vgilc 2018-11-07 16:26:30 +01:00
commit f413ae18b2
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){ else if (!$check_id_user){
return array('return' => false, return array('return' => false,
'message' => __('Not created. Error inserting data') . ". " 'message' => __('Not created. Error inserting data') . ". "
. __('User not exist')); . __('There is no user with such id'));
} }
else if (!$check_group && $values['id_group'] != 0) { else if (!$check_group && $values['id_group'] != 0) {
return array('return' => false, return array('return' => false,
'message' => __('Not created. Error inserting data') . ". " 'message' => __('Not created. Error inserting data') . ". "
. __('Group not exist')); . __('There is no group with such id'));
} }
else { else {
if (trim(io_safe_output($values['name'])) != '') { if (trim(io_safe_output($values['name'])) != '') {