Closed (fixed)
Project:
GoJoinGo
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
22 Feb 2006 at 03:55 UTC
Updated:
13 Mar 2006 at 19:02 UTC
Probably an error with the group user query. Investigating...
Comments
Comment #1
webchickPretty simple fix. Needed to change if ($row->grant_view) { to if ($row->is_active) {
Also updated the invite check while I was poking around in here to match what the og module uses.
Comment #2
netlynx commentedI can confirm this is a bug on my new install.
Comment #3
netlynx commentedSorry - just noticed its fixed. But when I apply this it hits the next section of code and throws a wobbly.
i.e.
Fatal error: Call to undefined function: og_create_links() in /home/www/drupal/modules/contributions/modules/gojoingo/modules/gjg/group_block.module on line 99
This is because it is now calling code not previously called because we are now 'active'.
Any idea why this function does not exist? It exists in og.module - I am still struggling to get to grips with your extensive module - have I missed something?
Comment #4
webchickAh yes. In the newest copy of the OG module, that function has been renamed og_og_create_links().. it was made into a hook. Sorry about that. I remember fixing that but forgot to mention it here.
Comment #5
netlynx commentedJust to complete this thread - yes changing the name of the function works fine.
Comment #6
(not verified) commented