Skip to content

Commit 7cce95a

Browse files
committed
Fix DisplayName field in listBuckets() (fixes issue #63)
1 parent d221e91 commit 7cce95a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public static function listBuckets($detailed = false)
381381
{
382382
if (isset($rest->body->Owner, $rest->body->Owner->ID, $rest->body->Owner->DisplayName))
383383
$results['owner'] = array(
384-
'id' => (string)$rest->body->Owner->ID, 'name' => (string)$rest->body->Owner->ID
384+
'id' => (string)$rest->body->Owner->ID, 'name' => (string)$rest->body->Owner->DisplayName
385385
);
386386
$results['buckets'] = array();
387387
foreach ($rest->body->Buckets->Bucket as $b)

0 commit comments

Comments
 (0)