diff options
| author | spiderr <spider@viovio.com> | 2012-04-12 13:15:56 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-04-12 13:15:56 -0400 |
| commit | bbb96f97e0301f4083e39a0e5a9117dc92f0c565 (patch) | |
| tree | 91d7edf806014cd15bc50179f980857fbd03bb62 /view.php | |
| parent | a384ce3a74425c8f32e50680bfefa52be86aac4e (diff) | |
| download | fisheye-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.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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' ); |
