Declare variable before using it.
Merge pull request #294 from wawe/feature-monitor-time-per-page

Declare variable before using it.