From b08d625e4e6ac8670cd1d4b3b7ff74b8271a7247 Mon Sep 17 00:00:00 2001 From: marcelloc Date: Fri, 28 Oct 2011 23:33:16 -0200 Subject: pfBlocker - fix bug in get_countries --- config/pf-blocker/pfblocker.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/pf-blocker/pfblocker.php b/config/pf-blocker/pfblocker.php index e3caa585..4eb07634 100644 --- a/config/pf-blocker/pfblocker.php +++ b/config/pf-blocker/pfblocker.php @@ -50,10 +50,10 @@ foreach ($files as $cont => $file){ $total++; } ${preg_replace("/\s/","",$matches[1])}=$matches[2]; - } + } else{ - if (${$ISOCode}==0){ - ${$ISOCode}++; + if (${$ISOcount}==0){ + ${$ISOCount}++; $options.= ''."\n"; } ${$ISOCode}.=$line."\n"; -- cgit v1.2.3