Closed (fixed)
Project:
Event
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2007 at 20:19 UTC
Updated:
20 Dec 2008 at 14:58 UTC
Jump to comment: Most recent file
It looks like the 5.x-2.x-dev version of the event module stores values in event_range_prev and event_range_next that are arrays like you'd get from date_parse() as opposed to just integer timestamps.
This is causing a problem in event_views_views_tables():
* warning: date() expects parameter 2 to be long, array given in drupal/modules/event/contrib/event_views/event_views.module on line 38.
The attached patch seems to fix the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | event_views_range_variables_1.patch | 1.03 KB | HorsePunchKid |
| event_views_range_variables.patch | 956 bytes | HorsePunchKid |
Comments
Comment #1
HorsePunchKid commentedPrevious patch got rid of the error but surely did not behave correctly.
Comment #2
killes@www.drop.org commentedapplied
Comment #3
(not verified) commentedComment #4
socialnicheguru commentedsubscribing.
i got this error when i upgraded event (2-dev) but did not upgrade date (1.8)