diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-06-17 12:42:47 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-06-17 12:42:47 +0000 |
| commit | d416f08fc0c61bedcab08c4f57ec26a2a838ce39 (patch) | |
| tree | 335327944477b21302df2cdcbc7265b77e617de7 | |
| parent | 21aea2536c271f1e2150492f298c331c49b54c8b (diff) | |
| download | liberty-d416f08fc0c61bedcab08c4f57ec26a2a838ce39.tar.gz liberty-d416f08fc0c61bedcab08c4f57ec26a2a838ce39.tar.bz2 liberty-d416f08fc0c61bedcab08c4f57ec26a2a838ce39.zip | |
getGroupPermissions() now takes a parameter hash instead of the individual inputs.
| -rw-r--r-- | content_permissions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content_permissions.php b/content_permissions.php index b694116..43c2c89 100644 --- a/content_permissions.php +++ b/content_permissions.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * @package liberty * @subpackage functions */ @@ -54,7 +54,7 @@ $contentPerms['groups'] = $userGroups["data"]; // Get a list of permissions if( empty( $assignPerms )) { if( !empty( $gContent->mType['handler_package'] )) { - $contentPerms['assignable'] = $gBitUser->getGroupPermissions( NULL, $gContent->mType['handler_package'] ); + $contentPerms['assignable'] = $gBitUser->getGroupPermissions( array( 'package' => $gContent->mType['handler_package'] )); } else { // this is a last resort and will dump all perms a user has $contentPerms['assignable'] = $gBitUser->mPerms; |
