Skip to content

Commit

Permalink
Fix DisplayName field in listBuckets() (fixes issue tpyo#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpyo committed Oct 25, 2013
1 parent d221e91 commit 7cce95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public static function listBuckets($detailed = false)
{
if (isset($rest->body->Owner, $rest->body->Owner->ID, $rest->body->Owner->DisplayName))
$results['owner'] = array(
'id' => (string)$rest->body->Owner->ID, 'name' => (string)$rest->body->Owner->ID
'id' => (string)$rest->body->Owner->ID, 'name' => (string)$rest->body->Owner->DisplayName
);
$results['buckets'] = array();
foreach ($rest->body->Buckets->Bucket as $b)
Expand Down

0 comments on commit 7cce95a

Please sign in to comment.