diff options
| author | Christian Fowler <spider@viovio.com> | 2006-03-01 20:16:03 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-03-01 20:16:03 +0000 |
| commit | caa830528b435909854d2e4dab5fa7ce088f2af3 (patch) | |
| tree | 187e35ba4686093e98c9ab0067e401ffc56c51a0 /modules | |
| parent | ca06f45554034c92e718d0d98a66de085495911f (diff) | |
| download | articles-caa830528b435909854d2e4dab5fa7ce088f2af3.tar.gz articles-caa830528b435909854d2e4dab5fa7ce088f2af3.tar.bz2 articles-caa830528b435909854d2e4dab5fa7ce088f2af3.zip | |
move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_articles.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_articles.php b/modules/mod_articles.php index 3c04288..00b672e 100644 --- a/modules/mod_articles.php +++ b/modules/mod_articles.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_articles/modules/mod_articles.php,v 1.8 2006/02/09 10:30:36 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_articles/modules/mod_articles.php,v 1.9 2006/03/01 20:16:02 spiderr Exp $ * @package article * @subpackage modules */ @@ -33,7 +33,7 @@ if( !empty( $module_params['sort_mode'] ) && in_array( $module_params['sort_mode $getHash['status_id'] = $status_id; $getHash['sort_mode'] = $sort_mode; -$getHash['max_records'] = !empty( $module_rows ) ? $module_rows : $gBitSystem->getPreference( 'max_articles' ); +$getHash['max_records'] = !empty( $module_rows ) ? $module_rows : $gBitSystem->getConfig( 'max_articles' ); $getHash['topic'] = !empty( $module_params['topic'] ) ? $module_params['topic'] : NULL; $articles = $articles->getList( $getHash ); |
