aboutsummaryrefslogtreecommitdiffstats
path: root/profile.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.php b/profile.php
index 741fcc40e..cff252565 100644
--- a/profile.php
+++ b/profile.php
@@ -133,7 +133,7 @@ function save_profile_from_post($userdata, &$errors)
// periods must be integer values, they represents number of days
if (!preg_match($int_pattern, $_POST['recent_period'])
- or $_POST['recent_period'] <= 0)
+ or $_POST['recent_period'] < 0)
{
$errors[] = l10n('Recent period must be a positive integer value') ;
}