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 '';