2013-02-07 Sergio Martin <sergio.martin@artica.es>

* extensions/plugin_registration.php: Fixed the PSPZ registration
	when max retries are not defined on the ini file
	FIX: 3603725



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-02-07 17:42:14 +00:00
parent 2e785b165b
commit 02deff3527
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-02-07 Sergio Martin <sergio.martin@artica.es>
* extensions/plugin_registration.php: Fixed the PSPZ registration
when max retries are not defined on the ini file
FIX: 3603725
2013-02-07 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/agent_conf_gis.php

View File

@ -135,12 +135,12 @@ function pluginreg_extension_main () {
else {
$macros = json_encode($macros);
}
$values = array(
'name' => io_safe_input ($ini_array["plugin_definition"]["name"]),
'description' => io_safe_input ($ini_array["plugin_definition"]["description"]),
'max_timeout' => $ini_array["plugin_definition"]["timeout"],
'max_retries' => $ini_array["plugin_definition"]["retries"],
'max_retries' => isset($ini_array["plugin_definition"]["retries"]) ? $ini_array["plugin_definition"]["retries"] : 0,
'execute' => io_safe_input ($exec_path),
'parameters' => io_safe_input ($ini_array["plugin_definition"]["execution_postcommand"]),
'macros' => $macros,