Jump to content

Pass $type to group form extensions


Recommended Posts

I 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 );


$data = $_object->getDisplayContent( $group, $tabsUsed, $type );

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...