Changeset 25148


Ignore:
Timestamp:
Oct 25, 2013, 7:41:18 PM (10 years ago)
Author:
flop25
Message:

merge r25120 from trunk to branch 2.5

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
  • branches/2.5/profile.php

    r20609 r25148  
    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.