diff options
author | marcelloc <marcellocoutinho@gmail.com> | 2011-10-29 03:49:09 -0200 |
---|---|---|
committer | marcelloc <marcellocoutinho@gmail.com> | 2011-10-29 03:49:09 -0200 |
commit | a5f75afdd34f4d3938adc7acd924f06f3a7f3aef (patch) | |
tree | 0144d0aab87a90b05c46b1ac26df4037c596eebf /config/pf-blocker/pfblocker.php | |
parent | b08d625e4e6ac8670cd1d4b3b7ff74b8271a7247 (diff) | |
download | pfsense-packages-a5f75afdd34f4d3938adc7acd924f06f3a7f3aef.tar.gz pfsense-packages-a5f75afdd34f4d3938adc7acd924f06f3a7f3aef.tar.bz2 pfsense-packages-a5f75afdd34f4d3938adc7acd924f06f3a7f3aef.zip |
pfBlocker - include table-entries size validation check
Diffstat (limited to 'config/pf-blocker/pfblocker.php')
-rw-r--r-- | config/pf-blocker/pfblocker.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/pf-blocker/pfblocker.php b/config/pf-blocker/pfblocker.php index 4eb07634..f1dd85f5 100644 --- a/config/pf-blocker/pfblocker.php +++ b/config/pf-blocker/pfblocker.php @@ -52,8 +52,8 @@ foreach ($files as $cont => $file){ ${preg_replace("/\s/","",$matches[1])}=$matches[2]; } else{ - if (${$ISOcount}==0){ - ${$ISOCount}++; + if (${$ISOCode."c"}==""){ + ${$ISOCode."c"}="ok"; $options.= '<option><name>'.$Country .'-'.$ISOCode.' ('.$TotalNetworks.') '.' </name><value>'.$ISOCode.'</value></option>'."\n"; } ${$ISOCode}.=$line."\n"; |