neen added a topic in Product FeedbackPass $type to group form extensionsI think it would be useful to pass $type to classes that extend the admin group form, so that they can know whether it's a new group vs an edit to an existing group.
This is a simple change to line 857 of admin/applications/members/modules_admin/groups/groups.php...
$data = $_object->getDisplayContent( $group, $tabsUsed ); to
$data = $_object->getDisplayContent( $group, $tabsUsed, $type );
- 0 replies
- 253 views