Skip to content

Commit

Permalink
fix comment index
Browse files Browse the repository at this point in the history
  • Loading branch information
wrinkleydog committed May 12, 2016
1 parent 289b82a commit cbc7c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InstagramScraper/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static function fromMediaPage($mediaArray)
$instance->imageHighResolutionUrl = $images['high'];
$instance->imageThumbnailUrl = $images['thumbnail'];
if (isset($mediaArray['caption'])) {
$instance->caption = $mediaArray['caption']['text'];
$instance->caption = $mediaArray['caption'];
}
$instance->owner = Account::fromMediaPage($mediaArray['owner']);
return $instance;
Expand Down

0 comments on commit cbc7c83

Please sign in to comment.