From 9de8079514ee6c1e54eea2a0717af6ec05e074f3 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sun, 21 Jan 2007 15:21:20 +0000 Subject: check correct permission --- fisheye_rss.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fisheye_rss.php') 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 @@ 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( -- cgit v1.3