summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-05-06 21:53:08 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-05-06 21:53:08 +0100
commit7d10a588e8e597fba279cbdbac5fd5b2ae81f1f7 (patch)
tree82db1167829c03b6e9dff17b075a74174a010469 /templates
parentdd67989e38cc85be5c2e301670e655ed399f17b8 (diff)
downloadarticles-7d10a588e8e597fba279cbdbac5fd5b2ae81f1f7.tar.gz
articles-7d10a588e8e597fba279cbdbac5fd5b2ae81f1f7.tar.bz2
articles-7d10a588e8e597fba279cbdbac5fd5b2ae81f1f7.zip
Handle user functions in users package
Diffstat (limited to 'templates')
-rw-r--r--templates/center_list_articles.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/templates/center_list_articles.php b/templates/center_list_articles.php
index ced28b6..88f6da1 100644
--- a/templates/center_list_articles.php
+++ b/templates/center_list_articles.php
@@ -35,16 +35,7 @@ if( !empty( $moduleParams )) {
$listHash = $_REQUEST;
}
-if( empty( $listHash['user_id'] )) {
- if( !empty( $gQueryUserId )) {
- $listHash['user_id'] = $gQueryUserId;
- } elseif( isset( $_REQUEST['user_id'] ) ) {
- $listHash['user_id'] = $_REQUEST['user_id'];
- }
-}
-if( @BitBase::verifyId( $_REQUEST['group_id'] ) ) {
- $listHash['group_id'] = $_REQUEST['group_id'];
-}
+BitUser::userCollection( $_REQUEST, $listHash );
$articles = $gContent->getList( $listHash );
$gBitSmarty->assign( 'articles', $articles );