2013-02-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/PluginServer.pm: Removed several "Use of uninitialized value in string" errors. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1a952ae78a
commit
03cbebaef2
|
@ -1,3 +1,8 @@
|
|||
2013-02-28 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* lib/PandoraFMS/PluginServer.pm: Removed several "Use of uninitialized i
|
||||
value in string" errors.
|
||||
|
||||
2013-02-28 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* bin/pandora_server: Undid the previous commit since forking after
|
||||
|
|
|
@ -153,8 +153,16 @@ sub data_consumer ($$) {
|
|||
# Build command to execute
|
||||
my $command = $plugin->{'execute'};
|
||||
|
||||
if (!defined($plugin->{'parameters'})){
|
||||
$plugin->{'parameters'} = "";
|
||||
}
|
||||
|
||||
my $parameters = $plugin->{'parameters'};
|
||||
|
||||
if (!defined($module->{'macros'})){
|
||||
$module->{'macros'} = "";
|
||||
}
|
||||
|
||||
# Macros
|
||||
eval {
|
||||
if ($module->{'macros'} ne '') {
|
||||
|
|
Loading…
Reference in New Issue