Jump to content

Pass $type to group form extensions


neen

Recommended Posts

Posted

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

to

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





Archived

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

  • Recently Browsing   0 members

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