Merge branch 'ent-10223-eliminar-descripcion-por-defecto-al-crear-agentes-desde-data-server' into 'develop'
Ent 10223 eliminar descripcion por defecto al crear agentes desde data server See merge request artica/pandorafms!5481
This commit is contained in:
commit
957097f34b
|
@ -3886,7 +3886,7 @@ sub pandora_create_agent ($$$$$$$$$$;$$$$$$$$$$) {
|
||||||
$agent_mode = 1 unless defined($agent_mode);
|
$agent_mode = 1 unless defined($agent_mode);
|
||||||
$alias = $agent_name unless defined($alias);
|
$alias = $agent_name unless defined($alias);
|
||||||
|
|
||||||
$description = "Created by $server_name" unless (defined($description) && $description ne '');
|
$description = '' unless (defined($description));
|
||||||
my ($columns, $values) = db_insert_get_values ({ 'nombre' => safe_input($agent_name),
|
my ($columns, $values) = db_insert_get_values ({ 'nombre' => safe_input($agent_name),
|
||||||
'direccion' => $address,
|
'direccion' => $address,
|
||||||
'comentarios' => $description,
|
'comentarios' => $description,
|
||||||
|
|
Loading…
Reference in New Issue