Changeset 25120


Ignore:
Timestamp:
Oct 24, 2013, 7:51:28 PM (7 years ago)
Author:
flop25
Message:

bug:2964 zero should be allowed for the recent period

only the profile page didn't allowed it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/profile.php

    r25018 r25120  
    134134    // periods must be integer values, they represents number of days
    135135    if (!preg_match($int_pattern, $_POST['recent_period'])
    136         or $_POST['recent_period'] <= 0)
     136        or $_POST['recent_period'] < 0)
    137137    {
    138138      $errors[] = l10n('Recent period must be a positive integer value') ;
Note: See TracChangeset for help on using the changeset viewer.