diff options
| author | Jams H Thompson <jht001@users.sourceforge.net> | 2008-03-22 19:55:23 +0000 |
|---|---|---|
| committer | Jams H Thompson <jht001@users.sourceforge.net> | 2008-03-22 19:55:23 +0000 |
| commit | ae113384d086b2c889de316eae3d3c56261bc010 (patch) | |
| tree | 8994fda9dc574022a150d0e0bb89618645b81b65 /index.php | |
| parent | 8e2eafc067830d758b8fd1b40cd7bef54fd2d196 (diff) | |
| download | users-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.php | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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']; |
