summaryrefslogtreecommitdiff
path: root/list_galleries.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-03-22 14:19:30 +0000
committerChristian Fowler <spider@viovio.com>2006-03-22 14:19:30 +0000
commit67bef4134daa2c9eac9dc19f3adf007c9bd6a4c4 (patch)
treeef868fe71199d10235aed16c69c7c091de11b8ba /list_galleries.php
parent4ec076822743ce2de348b9a4441794bf4f3a403b (diff)
downloadfisheye-67bef4134daa2c9eac9dc19f3adf007c9bd6a4c4.tar.gz
fisheye-67bef4134daa2c9eac9dc19f3adf007c9bd6a4c4.tar.bz2
fisheye-67bef4134daa2c9eac9dc19f3adf007c9bd6a4c4.zip
prune Thumbs.db microsoft file
Diffstat (limited to 'list_galleries.php')
-rw-r--r--list_galleries.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/list_galleries.php b/list_galleries.php
index 0b974cc..5e8cbb1 100644
--- a/list_galleries.php
+++ b/list_galleries.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/list_galleries.php,v 1.8 2006/03/01 20:16:07 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/list_galleries.php,v 1.9 2006/03/22 14:19:30 spiderr Exp $
* @package fisheye
* @subpackage functions
*/
@@ -38,7 +38,7 @@ $gBitSmarty->assign( 'curPage', $page = !empty( $_REQUEST['page'] ) ? $_REQUEST[
$offset = ( $page - 1 ) * $gBitSystem->getConfig( 'max_records' );
// calculate page number
-$numPages = ceil( $galleryList['cant'] / $gBitSystem->getConfig( 'max_records' ) );
+$numPages = ceil( $galleryList['cant'] / $gBitSystem->getConfig( 'max_records', 10 ) );
$gBitSmarty->assign( 'numPages', $numPages );
$gBitSmarty->assign( 'galleryList', $galleryList['data'] );