aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 6a4bea7b6d..8dc13b1e47 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -133,7 +133,7 @@ class ucp extends user
break;
case 'bool':
- $valid_data[$var_name] = ($data[$var_name] < 0) ? 0 : 1;
+ $valid_data[$var_name] = ($data[$var_name] <= 0) ? 0 : 1;
break;
case 'string':