2014-07-08 Vanessa Gil <vanessa.gil@artica.es>

* util/pandora_manage.pl: Fixed problem
	with entities.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2014-07-08 14:24:55 +00:00
parent 81d93475df
commit 042034d3f7
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-07-08 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Fixed problem
with entities.
2014-07-08 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Fixed help screen.

View File

@ -4044,7 +4044,9 @@ sub cli_create_local_component() {
my %parameters;
$parameters{'name'} = safe_input($component_name);
$parameters{'data'} = safe_input($data);
my $data_aux = safe_input($data);
$data_aux =~ s/&#92;n/&#x0a;/g;
$parameters{'data'} = $data_aux;
$parameters{'description'} = safe_input($description) unless !defined ($description);
$parameters{'id_os'} = $id_os unless !defined ($id_os);
$parameters{'type'} = $type unless !defined ($type);