Fix og_forum function signature
dkruglyak - June 2, 2007 - 06:31
| Project: | Organic groups list manager |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Jump to:
Description
I am doing a clean install using the latest modules of everything.
og2list fails to download & post incoming messages on cron run, throwing a fatal error into PHP log, saying the function og_forum_get_forum is not found. Indeed the correct og_forum function that returns taxonomy is og_forum_get_forum_container.
Solution: replace line 568 in og2list.module (in og2list_process_mail) with this:
$node->taxonomy[] = og_forum_get_forum_container($oid);This has been tested and works.

#1
Oh, and this should be also fixed in HEAD, which by the way is time to officially release for 5.1...