diff options
| author | Jams H Thompson <jht001@users.sourceforge.net> | 2008-06-22 01:41:27 +0000 |
|---|---|---|
| committer | Jams H Thompson <jht001@users.sourceforge.net> | 2008-06-22 01:41:27 +0000 |
| commit | ff2c77c8db8ad68e0af0a78a3a8307c20d296a2a (patch) | |
| tree | b9be8af32fa078615628f611f5f3dab91698e388 | |
| parent | 43b4f545949dc1b38b792d4b8f4e5191e27a4b86 (diff) | |
| download | boards-ff2c77c8db8ad68e0af0a78a3a8307c20d296a2a.tar.gz boards-ff2c77c8db8ad68e0af0a78a3a8307c20d296a2a.tar.bz2 boards-ff2c77c8db8ad68e0af0a78a3a8307c20d296a2a.zip | |
fix pagination
| -rw-r--r-- | topic.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_boards/Attic/topic.php,v 1.34 2008/04/29 02:12:49 wjames5 Exp $ + * $Header: /cvsroot/bitweaver/_bit_boards/Attic/topic.php,v 1.35 2008/06/22 01:41:27 jht001 Exp $ * Copyright (c) 2004 bitweaver Messageboards * 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. @@ -119,8 +119,9 @@ $threadsListHash = $_REQUEST; $threadList = $threads->getList( $threadsListHash ); $gBitSmarty->assign_by_ref( 'threadList', $threadList ); + // getList() has now placed all the pagination information in $_REQUEST['listInfo'] -$gBitSmarty->assign_by_ref( 'listInfo', $_REQUEST['listInfo'] ); +$gBitSmarty->assign_by_ref( 'listInfo', $threadsListHash['listInfo'] ); $gBitSmarty->assign_by_ref( 'board', $gContent ); $gBitSmarty->assign( 'cat_url', BOARDS_PKG_URL."index.php"); //?ct=".urlencode($gContent->mInfo['content_type_guid'])); |
