1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Wrong count in Deferred_UserGroupDelete

Discussion in 'Resolved Bug Reports' started by Nobita.Kun, Jul 23, 2016.

  1. Nobita.Kun

    Nobita.Kun Well-Known Member

    As title title..
    In line 42:
    $data['count'] += $limit;
    I think it is should be count for results.
    $data['count'] += count($results);
    Sometime i just have number of records which smaller than 100 (which limited).
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed now, thanks, though the fix you proposed will always return 2. You have to count the 2 parts of the array.

Share This Page