Fixing the "private" feature

Johnny vd Laar - June 12, 2009 - 09:31
Project:OG Contact
Version:5.x-4.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:gnat
Status:needs review
Description

I needed this module for drupal 5 but found out that the "only allow group members" feature didn't work.

this patch fixes this feature. the patch is based on the last dev release

it also fixes a bug in the install file

AttachmentSize
og_contact.patch3.9 KB

#1

gnat - June 12, 2009 - 14:27
Assigned to:Anonymous» gnat

Good catch. Thanks for the patch!

I'll check the D6 version to see if it also has the same issues - I'm pretty sure it does looking at that patch.

Anyway, I'll patch and test later today. Thanks again.

#2

dman - September 21, 2009 - 15:25

This is still a problem in the current release.

Also there is something queer where :

og_contact_check_group_member($uid, $uid)

should be
og_contact_check_group_member($uid, $gid)

I've inherited an out-of-date already-hacked version, so I don't have a clean patch. I'd consider supplying one if the module was up with code-standards, but there's too many diffs there right now for me to provide a clean fix...

 
 

Drupal is a registered trademark of Dries Buytaert.