• 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

Nobita.Kun

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

Mike

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