Empty Audience with OG 7.3

pvasener - December 11, 2008 - 15:23
Project:Content Type Administration by Organic Group
Version:5.x-1.6
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review
Description

The OG_CTA module is stripping down the list of groups in the Audience section whether the node type is allowed group or not . To do that, it loops through the ['og_nodeapi']['visible']['og_groups']['#options'] values which used to be an array of group nids. With OG 7.3 (maybe before), this is no longer the case, it is a double-indexed array with 'My groups' and 'Other groups' indexes. So here is a patch to adapt to this change in the OG module.

AttachmentSize
og_content_type_admin.patch2.82 KB

#1

pvasener - December 11, 2008 - 15:31

Hum... Sorry little typo error in the previous patch.

AttachmentSize
og_content_type_admin.patch 2.82 KB

#2

pvasener - December 11, 2008 - 15:33

Still not good. This one is, promised.

Note: It would be convenient to be able to delete our own posts :)

AttachmentSize
og_content_type_admin.patch 2.82 KB
 
 

Drupal is a registered trademark of Dries Buytaert.