diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-04-11 17:52:09 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-04-11 17:52:09 +0000 |
| commit | 1987dafa431510f3ccff386865a1e59c2aeae45a (patch) | |
| tree | d97514daab4981ea158a9981e24cf51cca0dec27 /index.php | |
| parent | 5ba45d8c3567b87fd738f4208c1133d11be57c03 (diff) | |
| download | articles-1987dafa431510f3ccff386865a1e59c2aeae45a.tar.gz articles-1987dafa431510f3ccff386865a1e59c2aeae45a.tar.bz2 articles-1987dafa431510f3ccff386865a1e59c2aeae45a.zip | |
more permissions housekeeping and tidyup
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_articles/index.php,v 1.14 2006/04/11 13:03:24 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_articles/index.php,v 1.15 2006/04/11 17:52:08 squareing Exp $ // Copyright( c )2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -20,7 +20,7 @@ if( !empty( $_REQUEST['article_id'] ) ) { require_once( ARTICLES_PKG_PATH.'lookup_article_inc.php' ); include_once( ARTICLES_PKG_PATH.'article_filter_inc.php' ); -if( $gBitUser->isAdmin() || $gBitUser->hasPermission( 'bit_p_admin_cms' ) ) { +if( $gBitUser->isAdmin() || $gBitUser->hasPermission( 'p_articles_admin' ) ) { $_REQUEST['status_id'] = !empty( $_REQUEST['status_id'] ) ? $_REQUEST['status_id'] : ARTICLE_STATUS_APPROVED; $_REQUEST['max_records'] = !empty( $_REQUEST['max_records'] ) ? $_REQUEST['max_records'] : $gBitSystem->getConfig( 'max_articles' ); $_REQUEST['topic_id'] = !empty( $_REQUEST['topic_id'] ) ? $_REQUEST['topic_id'] : NULL; |
