diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-07-06 16:37:22 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-07-06 16:37:22 +0000 |
| commit | e89540d4bfe24cf650511e138b7e16e46d1bc3c8 (patch) | |
| tree | 49bd4e19aa711708862f258170872eca6ff95655 /list.php | |
| parent | 61d47f9b1c26deb96a0c835046bb2a477f67c1df (diff) | |
| download | articles-e89540d4bfe24cf650511e138b7e16e46d1bc3c8.tar.gz articles-e89540d4bfe24cf650511e138b7e16e46d1bc3c8.tar.bz2 articles-e89540d4bfe24cf650511e138b7e16e46d1bc3c8.zip | |
move to gContent perm functions to fully support liberty content permissions
Diffstat (limited to 'list.php')
| -rw-r--r-- | list.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_articles/list.php,v 1.18 2007/06/13 19:39:05 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_articles/list.php,v 1.19 2007/07/06 16:37:22 squareing Exp $ * @package article * @subpackage functions */ @@ -88,7 +88,7 @@ if( !empty( $_REQUEST['action'] ) ) { } } -if( empty( $_REQUEST['status_id'] ) || (!(($gBitSystem->isFeatureActive('articles_auto_approve') && $gBitUser->isRegistered())||$gBitUser->hasPermission( 'p_articles_edit_submission' ) || $gBitUser->hasPermission( 'p_articles_admin' ) ) ) ) { +if( empty( $_REQUEST['status_id'] ) || (!(($gBitSystem->isFeatureActive('articles_auto_approve') && $gBitUser->isRegistered()) || $gBitUser->hasPermission( 'p_articles_edit_submission' ) || $gBitUser->hasPermission( 'p_articles_admin' ) ) ) ) { $_REQUEST['status_id'] = ARTICLE_STATUS_APPROVED; } $listArticles = $article->getList( $_REQUEST ); |
