Fixed Wrong count in Deferred_UserGroupDelete

truonglv

Well-known member
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
Fixed now, thanks, though the fix you proposed will always return 2. You have to count the 2 parts of the array.
 
Top