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