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:
commit
f413ae18b2
|
@ -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'])) != '') {
|
||||||
|
|
Loading…
Reference in New Issue