Closed (fixed)
Project:
Activity
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2009 at 09:53 UTC
Updated:
28 Oct 2009 at 19:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
Scott Reynolds commentedFunny, its really happening when you go to the page display?
Anyways, give this a try.
Comment #2
pribeh commentedVanished! Thanks!
Comment #3
liliplanet commentedHi,
I also have the same problem, although have activity.module of 20 September and the patch is not possible in latest version.
array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /home/public_html/sites/all/modules/activity/activity.module on line 358.Most appreciate any reply :)
Lilian
Comment #4
Scott Reynolds commentedI was able to just fine.
Anyways, I committed a different version of this patch. The patch posted i this issue only really helped to find the problem. My committed sortof fixed it? hook_token_values() is being called without passing in the $object.. That is causing problems previously, because if the $object was empty() then the hook_activity_token_values() would return NULL instead of an array.
My commit makes it always return an array even if the $object is empty().
http://drupal.org/cvs?commit=266212
Comment #5
Scott Reynolds commented