summaryrefslogtreecommitdiff
path: root/image_order.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-01-01 16:20:46 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-01-01 16:20:46 +0000
commit8e6089cccc871427f64f0e17c69cafccded63671 (patch)
treee3deef895746d63100098e984ae4e560e24c018e /image_order.php
parentdbeb76b093aa1fb63313ab3d76e883599ea938f0 (diff)
downloadfisheye-8e6089cccc871427f64f0e17c69cafccded63671.tar.gz
fisheye-8e6089cccc871427f64f0e17c69cafccded63671.tar.bz2
fisheye-8e6089cccc871427f64f0e17c69cafccded63671.zip
use gallery admin permission instead of edit permission to allow full access to fishey galleries
Diffstat (limited to 'image_order.php')
-rw-r--r--image_order.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/image_order.php b/image_order.php
index cef5148..38fe44d 100644
--- a/image_order.php
+++ b/image_order.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/image_order.php,v 1.19 2006/12/27 14:27:40 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/image_order.php,v 1.20 2007/01/01 16:20:46 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -189,7 +189,7 @@ $listHash = array(
'show_empty' => TRUE
);
// modify listHash according to global preferences
-if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_editors' ) && $gBitUser->hasPermission( 'p_fisheye_edit' ) ) {
+if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->hasPermission( 'p_fisheye_admin' ) ) {
unset( $listHash['user_id'] );
} elseif( $gBitSystem->isFeatureActive( 'fisheye_show_public_on_upload' ) ) {
$listHash['show_public'] = TRUE;