[opw-web] Fix default for skip_proxy_ip_count



commit 25847f002705fa3ed5558356d7e0a47c2cf6195a
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Dec 3 00:34:45 2015 -0500

    Fix default for skip_proxy_ip_count

 classes/class_config.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/classes/class_config.php b/classes/class_config.php
index 0350d64..7b1eca3 100644
--- a/classes/class_config.php
+++ b/classes/class_config.php
@@ -125,7 +125,7 @@ class config
             $this->lang_name        = isset($lang_name) ? $lang_name : 'en-gb';
             $this->per_page         = isset($per_page) ? $per_page : 10;
             $this->show_debug       = isset($show_debug) ? $show_debug : false;
-            $this->skip_proxy_ip_count = isset($skip_proxy_ip_count) ? $skip_proxy_ip_count : false;
+            $this->skip_proxy_ip_count = isset($skip_proxy_ip_count) ? $skip_proxy_ip_count : 0;
 
             $this->ldap_server      = isset($ldap_server) ? $ldap_server : '';
             $this->ldap_port        = isset($ldap_port) ? $ldap_port : '';


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]