You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2020/06/20 15:59:30 UTC
svn commit: r1879043 - /spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi
Author: hege
Date: Sat Jun 20 15:59:29 2020
New Revision: 1879043
URL: http://svn.apache.org/viewvc?rev=1879043&view=rev
Log:
Fix more undefined warnings
Modified:
spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi
Modified: spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi?rev=1879043&r1=1879042&r2=1879043&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi (original)
+++ spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi Sat Jun 20 15:59:29 2020
@@ -1662,7 +1662,7 @@ sub get_params_except {
my @str = ();
foreach my $p (@{$self->{cgi_param_order}}) {
foreach my $skip (@excepts) {
- next unless defined $skip;
+ next unless defined $skip && defined $self->{cgi_params}{$p};
goto nextnext if
($skip eq $p || $self->{cgi_params}{$p} =~ /^\Q$skip\E=/);
}