Fixes an issue that could prevent the AI Image Gallery options from being saved when no active XenForo payment profiles were available.
This affected fresh installations as well as sites attempting to save provider settings such as an OpenAI API key. The payment profile option is now submitted in the correct format so the settings page saves normally.
This affected fresh installations as well as sites attempting to save provider settings such as an OpenAI API key. The payment profile option is now submitted in the correct format so the settings page saves normally.
- Fixed options form failing to save when no active payment profiles are available
- Fixed payment profile option being submitted in the wrong format
- Improved fresh installation compatibility