Skip to content

Commit

Permalink
Merge pull request #872 from ezsystems/ezp-22234-deleted_groups_multi…
Browse files Browse the repository at this point in the history
…plexer

Fix EZP-22234: Only show published users in multiplexer edit
  • Loading branch information
yannickroger committed Jan 28, 2014
2 parents f36f68e + c76756c commit 8fd6d0e
Showing 1 changed file with 9 additions and 2 deletions.
Expand Up @@ -135,8 +135,15 @@ function attribute( $attr )

case 'usergroups':
{
$groups = eZPersistentObject::fetchObjectList( eZContentObject::definition(), array( 'id', 'name' ),
array( 'contentclass_id' => 3 ), null, null, false );
$groups = eZPersistentObject::fetchObjectList(
eZContentObject::definition(),
array( 'id', 'name' ),
array( 'contentclass_id' => 3, 'status' => eZContentObject::STATUS_PUBLISHED ),
null,
null,
false
);

foreach ( $groups as $key => $group )
{
$groups[$key]['Name'] = $group['name'];
Expand Down

0 comments on commit 8fd6d0e

Please sign in to comment.