summaryrefslogtreecommitdiff
path: root/view.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-04-12 13:15:56 -0400
committerspiderr <spider@viovio.com>2012-04-12 13:15:56 -0400
commitbbb96f97e0301f4083e39a0e5a9117dc92f0c565 (patch)
tree91d7edf806014cd15bc50179f980857fbd03bb62 /view.php
parenta384ce3a74425c8f32e50680bfefa52be86aac4e (diff)
downloadfisheye-bbb96f97e0301f4083e39a0e5a9117dc92f0c565.tar.gz
fisheye-bbb96f97e0301f4083e39a0e5a9117dc92f0c565.tar.bz2
fisheye-bbb96f97e0301f4083e39a0e5a9117dc92f0c565.zip
handle p_fisheye_download_gallery_arc perm properly
Diffstat (limited to 'view.php')
-rw-r--r--view.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/view.php b/view.php
index 4a7cd61..3fafee1 100644
--- a/view.php
+++ b/view.php
@@ -40,8 +40,7 @@ if( $gContent->isCommentable() ) {
if (!empty($_REQUEST['download'])){
// Checked against global users group assignment so that feature can be restricted on a group level.
// If content was checked, user would always have permission to do this.
- $gContent->verifyUpdatePermission();
- $gBitSystem->verifyPermission('p_fisheye_download_gallery_arc');
+ $gContent->verifyUserPermission('p_fisheye_download_gallery_arc');
$gContent->download();
} else {
require_once( FISHEYE_PKG_PATH.'display_fisheye_gallery_inc.php' );