diff options
| author | lsces <lester@lsces.co.uk> | 2026-04-16 12:10:46 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-04-16 12:10:46 +0100 |
| commit | acbff2c95adef524eafc3c93b39c3fd0880eb3db (patch) | |
| tree | 95f51a670e5ef8e6e9c510fab6a4d0cf46e1e13c /includes | |
| parent | 301eb65aa1d0167eaf49125daf486f81e7215cf4 (diff) | |
| download | fisheye-acbff2c95adef524eafc3c93b39c3fd0880eb3db.tar.gz fisheye-acbff2c95adef524eafc3c93b39c3fd0880eb3db.tar.bz2 fisheye-acbff2c95adef524eafc3c93b39c3fd0880eb3db.zip | |
Get the right number of images per page
Diffstat (limited to 'includes')
| -rwxr-xr-x | includes/display_fisheye_gallery_inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/display_fisheye_gallery_inc.php b/includes/display_fisheye_gallery_inc.php index 24bfe28..bda8cd5 100755 --- a/includes/display_fisheye_gallery_inc.php +++ b/includes/display_fisheye_gallery_inc.php @@ -10,7 +10,7 @@ $displayHash = [ 'perm_name' => 'p_fisheye_view' ]; $gContent->invokeServices( 'content_display_function', $displayHash ); $listHash = $_REQUEST; -$listHash['max_records'] = 12; +$listHash['max_records'] = $gContent->mInfo["images_per_page"] ?? $max_records; switch( $gContent->getLayout() ) { case 'auto_flow': |
