summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content_permissions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/content_permissions.php b/content_permissions.php
index ac26d99..590f154 100644
--- a/content_permissions.php
+++ b/content_permissions.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
* @package liberty
* @subpackage functions
*/
@@ -47,8 +47,8 @@ if( !empty( $_REQUEST['action'] ) && @BitBase::verifyId( $gContent->mContentId )
}
}
-// Get a list of groups
-$listHash = array( 'sort_mode' => 'group_id_asc' );
+// Get a list of groups owned by the user (and thus able to be administered by this user) OR public groups
+$listHash = array( 'sort_mode' => 'group_id_asc', 'visible' => 1);
$contentPerms['groups'] = $gBitUser->getAllGroups( $listHash );
if( !empty( $gContent->mType['handler_package'] )) {