When clicking "Apply" on the start and end dates, the following errors are returned...
Notice: Undefined index: Start_date in ga_node_reports_analytics_form_submit() (line 203 of /var/www/vhosts/XXXXXXXXX/httpdocs/sites/all/modules/contrib/ga_node_reports/ga_node_reports.pages.inc).
Notice: Undefined index: End_date in ga_node_reports_analytics_form_submit() (line 204 of /var/www/vhosts/XXXXXXXX/httpdocs/sites/all/modules/contrib/ga_node_reports/ga_node_reports.pages.inc).
Looking at ga_node_reports_pages.inc
There is a problem with the capital letter, but it should all be low case.
Line 203 should be...
'start_date' => $form_state['input']['start_date'],
Line 204 should be....
'end_date' => $form_state['input']['end_date'],
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | ga_node_reports-date_filters_broken-2980430-2.patch | 635 bytes | dieuwe |
Comments
Comment #2
Collins405 commentedComment #3
Collins405 commentedComment #4
dieuwePatch for the above changes.
Comment #5
astonvictor commentedWorks for me.
Comment #6
szeidler commentedThe patch is working fine for me. Should be committed.
Comment #8
saesa commentedComment #9
saesa commented