diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-24 21:54:24 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-24 21:54:24 +0100 |
| commit | d9e5fc62a1df606264432fd5977cacaf42520b97 (patch) | |
| tree | 2491787167a4435ae56c3ae1aa2e1ebcf2660333 /edit.php | |
| parent | 6eb9bdf19493664fba89b61c064728359b2ed900 (diff) | |
| download | fisheye-d9e5fc62a1df606264432fd5977cacaf42520b97.tar.gz fisheye-d9e5fc62a1df606264432fd5977cacaf42520b97.tar.bz2 fisheye-d9e5fc62a1df606264432fd5977cacaf42520b97.zip | |
Save galleriffic_style as a preference on gallery edit
The style field was read from preferences but never written back —
storePreference call was missing alongside galleriffic_num_thumbs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'edit.php')
| -rwxr-xr-x | edit.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ if( !empty( $_REQUEST['savegallery'] ) ) { $gContent->storePreference( 'link_original_images', !empty( $_REQUEST['link_original_images'] ) ? $_REQUEST['link_original_images'] : null ); $gContent->storePreference( 'total_per_page', !empty( $_REQUEST['total_per_page'] ) ? (int)$_REQUEST['total_per_page'] : null ); $gContent->storePreference( 'galleriffic_num_thumbs', !empty( $_REQUEST['galleriffic_num_thumbs'] ) ? (int)$_REQUEST['galleriffic_num_thumbs'] : null ); + $gContent->storePreference( 'galleriffic_style', !empty( $_REQUEST['galleriffic_style'] ) ? (int)$_REQUEST['galleriffic_style'] : null ); $gContent->storePreference( 'show_description', !empty( $_REQUEST['show_description'] ) ? 'y' : 'n' ); // make sure var is fully stuffed with current data $gContent->load(); |
