summaryrefslogtreecommitdiff
path: root/fisheye_rss.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-01-21 15:21:20 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-01-21 15:21:20 +0000
commit9de8079514ee6c1e54eea2a0717af6ec05e074f3 (patch)
treee221ac425810de6f8e23a95477a40542ea2a07db /fisheye_rss.php
parentd373d24cd593c101911749ab8077d2815fc71c88 (diff)
downloadfisheye-9de8079514ee6c1e54eea2a0717af6ec05e074f3.tar.gz
fisheye-9de8079514ee6c1e54eea2a0717af6ec05e074f3.tar.bz2
fisheye-9de8079514ee6c1e54eea2a0717af6ec05e074f3.zip
check correct permission
Diffstat (limited to 'fisheye_rss.php')
-rw-r--r--fisheye_rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/fisheye_rss.php b/fisheye_rss.php
index c7ae319..adb5209 100644
--- a/fisheye_rss.php
+++ b/fisheye_rss.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/fisheye_rss.php,v 1.4 2007/01/07 10:48:31 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/fisheye_rss.php,v 1.5 2007/01/21 15:21:20 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -21,7 +21,7 @@ $rss->title = $gBitSystem->getConfig( 'fisheye_rss_title', $gBitSystem->getConfi
$rss->description = $gBitSystem->getConfig( 'fisheye_rss_description', $gBitSystem->getConfig( 'site_title' ).' - '.tra( 'RSS Feed' ) );
// check permission to view fisheye images
-if( !$gBitUser->hasPermission( 'p_fisheye_view_page' ) ) {
+if( !$gBitUser->hasPermission( 'p_fisheye_view' ) ) {
require_once( RSS_PKG_PATH."rss_error.php" );
} else {
$listHash = array(