From f943235ba2e891b92162f0687e129baadc4d6954 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 3 Oct 2024 21:36:37 +0100 Subject: [PATCH] Fix countable error in Destination S3 --- inc/class-destination-s3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class-destination-s3.php b/inc/class-destination-s3.php index 65ef03bb..60d3dd43 100755 --- a/inc/class-destination-s3.php +++ b/inc/class-destination-s3.php @@ -523,7 +523,7 @@ public function edit_ajax(array $args = []): void echo ''; } elseif (!empty($error)) { echo esc_html($error); - } elseif (empty($buckets) || count($buckets['Buckets']) < 1) { + } elseif (empty($buckets['Buckets']) || count($buckets['Buckets']) < 1) { esc_html_e('No bucket found!', 'backwpup'); } echo '';