Closed (fixed)
Project:
Google Analytics Reports
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Jun 2012 at 15:16 UTC
Updated:
30 Jul 2012 at 16:41 UTC
A call is made to watchdog() with a $type parameter of "google analytics reports", however in Drupal 6 the type column in the watchdog table is only 16 characters long. If the watchdog() function is called with this 42-character $type, an error is displayed and the watchdog entry is not added to the DB table.
The attached patch fixes this bug by changing the $type value in the watchdog() call to "ga reports".
Note: this only affects D6, since in D7 the column size was increased to 64 characters.
| Comment | File | Size | Author |
|---|---|---|---|
| google_analytics_reports-watchdog_type_length.patch | 589 bytes | jlapp |
Comments
Comment #1
grendzy commentedc7f2b05e Thanks!