mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
PluginTools Added global alerts to parse_arguments
This commit is contained in:
parent
21c9a7ee4a
commit
b67eb9ae16
@ -1164,6 +1164,10 @@ sub parse_arguments {
|
||||
my $key = trim($args[$i]);
|
||||
|
||||
$key =~ s/^-//;
|
||||
if ($key =~ /^\s*global_alerts/){
|
||||
push (@{$data{global_alerts}}, trim($args[$i+1]));
|
||||
next;
|
||||
}
|
||||
$data{$key} = trim($args[$i+1]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user