Moving a forum topic to another forum by itself is fine, but after checking the box to leave a shadow copy, there is the following error:
warning: in_array() [function.in-array]: Wrong datatype for second argument in \modules\forum.module on line 496.
I think this is all that's needed; making sure that $node->terms has something in it.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | forum_21.patch | 739 bytes | Zen |
| #1 | forum.module_12.patch | 660 bytes | webchick |
| forum.module_11.patch | 691 bytes | webchick |
Comments
Comment #1
webchickHey, how about a patch that doesn't have debugging info in it? ;)
Comment #2
dries commentedIn what scenario can $terms be null/empty and is that normal?
Comment #3
webchickSorry, I am not sure. The patch was only intended to get rid of the warning... I came across this bug while testing something else and didn't have a chance to dig any deeper than that. I'm not sure if this is caused by a bug deeper in the system. :\
Comment #4
Zen commentedPatch attached - the wrong variable was being accessed.
Straightforward patch - setting to RTC.
Thanks
-K
Comment #5
killes@www.drop.org commentedcomitted.
Comment #6
(not verified) commented