Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2009 at 17:03 UTC
Updated:
13 Sep 2009 at 17:30 UTC
views_handler_field_counter::render() adds to $count without initializing it if $pager['use_pager] is not true.
This causes PHP to emits warnings in E_STRICT mode. $count should probably be initialized to 0 at the beginning of the function.
Comments
Comment #1
dawehnerThx for providing this. But this is already fixed in dev version.
You could have anyway a look at more optimisations #551752: Counter field optimisations.