From d9e5fc62a1df606264432fd5977cacaf42520b97 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Sun, 24 May 2026 21:54:24 +0100 Subject: Save galleriffic_style as a preference on gallery edit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- edit.php | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v1.3