From e4c3209072defc03a03ce97c4b4ab0e7adf09451 Mon Sep 17 00:00:00 2001 From: matdave Date: Thu, 16 Nov 2023 11:00:51 -0600 Subject: [PATCH] fix variable name mismatch --- core/lexicon/en/source.inc.php | 2 +- core/src/Revolution/Sources/modS3MediaSource.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/lexicon/en/source.inc.php b/core/lexicon/en/source.inc.php index 5a3db6bb6ef..13a1f4932aa 100644 --- a/core/lexicon/en/source.inc.php +++ b/core/lexicon/en/source.inc.php @@ -84,7 +84,7 @@ $_lang['prop_s3.endpoint_desc'] = 'Alternative S3-compatible endpoint URL, e.g., "https://s3..example.com". Review your S3-compatible provider’s documentation for the endpoint location. Leave empty for Amazon S3'; $_lang['prop_s3.region_desc'] = 'Region of the bucket. Example: us-west-1'; $_lang['prop_s3.prefix_desc'] = 'Optional path/folder prefix'; -$_lang['prop_s3.no_bucket_check_desc'] = 'If set, don\'t attempt to check the bucket exists. It can be needed if the access key you are using does not have bucket creation/list permissions.'; +$_lang['prop_s3.no_check_bucket_desc'] = 'If set, don\'t attempt to check the bucket exists. It can be needed if the access key you are using does not have bucket creation/list permissions.'; $_lang['s3_no_move_folder'] = 'The S3 driver does not support moving of folders at this time.'; /* ftp source type */ diff --git a/core/src/Revolution/Sources/modS3MediaSource.php b/core/src/Revolution/Sources/modS3MediaSource.php index 44c6a35bca4..15392e2b32d 100644 --- a/core/src/Revolution/Sources/modS3MediaSource.php +++ b/core/src/Revolution/Sources/modS3MediaSource.php @@ -161,9 +161,9 @@ public function getDefaultProperties() 'value' => '', 'lexicon' => 'core:source', ], - 'no_bucket_check' => [ - 'name' => 'no_bucket_check', - 'desc' => 'prop_s3.no_bucket_check_desc', + 'no_check_bucket' => [ + 'name' => 'no_check_bucket', + 'desc' => 'prop_s3.no_check_bucket_desc', 'type' => 'combo-boolean', 'options' => '', 'value' => false,