diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f02213f457..c0c9c0352a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-02-12 Sergio Martin + + * extensions/plugin_registration.php: Recommit the last fix of + plugin registration + 2012-02-12 Sancho Lerena * pandoradb.sql: tserver table type is now InnoDB after modifying diff --git a/pandora_console/extensions/plugin_registration.php b/pandora_console/extensions/plugin_registration.php index e951b0febe..4c7b0dd0b9 100644 --- a/pandora_console/extensions/plugin_registration.php +++ b/pandora_console/extensions/plugin_registration.php @@ -140,7 +140,7 @@ function pluginreg_extension_main () { '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,