diff options
Diffstat (limited to 'attachment_browser.php')
| -rw-r--r-- | attachment_browser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/attachment_browser.php b/attachment_browser.php index 6194dc2..20e69fe 100644 --- a/attachment_browser.php +++ b/attachment_browser.php @@ -3,7 +3,7 @@ * attachment_browser * * @author spider <spider@steelsun.com> - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ * @package liberty * @subpackage functions */ @@ -27,6 +27,6 @@ $gBitSmarty->assign( 'curPage', $pgnPage = @BitBase::verifyId( $_REQUEST['pgnPag $offset = ( $pgnPage - 1 ) * $gBitSystem->getConfig( 'max_records' ); // calculate page number -$numPages = ceil( $userAttachments['cant'] / $gBitSystem->getConfig( 'max_records' ) ); +$numPages = ceil( $listHash['cant'] / $gBitSystem->getConfig( 'max_records' ) ); $gBitSmarty->assign( 'numPages', $numPages ); ?> |
