summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-24 21:54:24 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-24 21:54:24 +0100
commitd9e5fc62a1df606264432fd5977cacaf42520b97 (patch)
tree2491787167a4435ae56c3ae1aa2e1ebcf2660333
parent6eb9bdf19493664fba89b61c064728359b2ed900 (diff)
downloadfisheye-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>
-rwxr-xr-xedit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/edit.php b/edit.php
index 9cb90f6..a4edefc 100755
--- a/edit.php
+++ b/edit.php
@@ -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();