diff options
| author | Christian Fowler <spider@viovio.com> | 2006-03-01 20:16:29 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-03-01 20:16:29 +0000 |
| commit | 441ac0c2c4cb32b24c8e20fc065e0f85e4bb9b3e (patch) | |
| tree | 27e43b0e9f23feacc049c31d13862df4084dc9fa /index.php | |
| parent | 7815e866b306aa4bc63fdb5e5912a6b800b7651d (diff) | |
| download | search-441ac0c2c4cb32b24c8e20fc065e0f85e4bb9b3e.tar.gz search-441ac0c2c4cb32b24c8e20fc065e0f85e4bb9b3e.tar.bz2 search-441ac0c2c4cb32b24c8e20fc065e0f85e4bb9b3e.zip | |
move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.15 2006/02/16 13:48:12 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.16 2006/03/01 20:16:28 spiderr 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. @@ -93,7 +93,7 @@ if ( $cant > 0 ) { } } // calculate page number -$numPages = ceil( $cant / $gBitSystem->getPreference( 'max_records' ) ); +$numPages = ceil( $cant / $gBitSystem->getConfig( 'max_records' ) ); $gBitSmarty->assign( 'numPages', $numPages ); $_REQUEST['cant'] = $cant; |
