summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorJams H Thompson <jht001@users.sourceforge.net>2008-03-22 19:55:23 +0000
committerJams H Thompson <jht001@users.sourceforge.net>2008-03-22 19:55:23 +0000
commitae113384d086b2c889de316eae3d3c56261bc010 (patch)
tree8994fda9dc574022a150d0e0bb89618645b81b65 /index.php
parent8e2eafc067830d758b8fd1b40cd7bef54fd2d196 (diff)
downloadusers-ae113384d086b2c889de316eae3d3c56261bc010.tar.gz
users-ae113384d086b2c889de316eae3d3c56261bc010.tar.bz2
users-ae113384d086b2c889de316eae3d3c56261bc010.zip
fix permission check to be non-fatal
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/index.php b/index.php
index 2c46336..01d5641 100644
--- a/index.php
+++ b/index.php
@@ -1,8 +1,8 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.26 2008/03/22 19:07:43 jht001 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.27 2008/03/22 19:55:23 jht001 Exp $
*
- * $Id: index.php,v 1.26 2008/03/22 19:07:43 jht001 Exp $
+ * $Id: index.php,v 1.27 2008/03/22 19:55:23 jht001 Exp $
* @package users
* @subpackage functions
*/
@@ -54,8 +54,7 @@ if( !empty( $_REQUEST['home'] ) && $gQueryUser->isValid() && (( $gBitUser->hasPe
}
$browserTitle = $userHomeTitle;
-
- if( $gBitSystem->verifyPermission( 'p_liberty_list_content' ) ) {
+ if( $gBitUser->hasPermission( 'p_liberty_list_content' ) ) {
// some content specific offsets and pagination settings
if( !empty( $_REQUEST['sort_mode'] ) ) {
$content_sort_mode = $_REQUEST['sort_mode'];