2012-05-18 Koichiro Kikuchi <koichiro@rworks.jp>

* godmode/agentes/configurar_agente.php: Merged from 4.0: Added
	 missing io_safe_input to the module copy operation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
koichirok 2012-05-18 06:56:20 +00:00
parent ef54999b54
commit 9437651954
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-05-18 Koichiro Kikuchi <koichiro@rworks.jp>
* godmode/agentes/configurar_agente.php: Merged from 4.0: Added
missing io_safe_input to the module copy operation.
2012-05-17 Sergio Martin <sergio.martin@artica.es> 2012-05-17 Sergio Martin <sergio.martin@artica.es>
* install.php: Fixed number of step mistakes * install.php: Fixed number of step mistakes

View File

@ -1032,7 +1032,7 @@ if (!empty($duplicate_module)) { // DUPLICATE agent module !
$id_duplicate_module = $duplicate_module; $id_duplicate_module = $duplicate_module;
$original_name = modules_get_agentmodule_name($id_duplicate_module); $original_name = modules_get_agentmodule_name($id_duplicate_module);
$copy_name = __('copy of') . ' ' . $original_name; $copy_name = io_safe_input(__('copy of') . ' ') . $original_name;
$cont = 0; $cont = 0;
$exists = true; $exists = true;
@ -1041,8 +1041,8 @@ if (!empty($duplicate_module)) { // DUPLICATE agent module !
'nombre', $copy_name); 'nombre', $copy_name);
if ($exists) { if ($exists) {
$cont++; $cont++;
$copy_name = __('copy of') . ' ' . $original_name $copy_name = io_safe_input(__('copy of') . ' ') . $original_name
. ' (' . $cont . ')'; . io_safe_input(' (' . $cont . ')');
} }
} }