Skip to content

Commit

Permalink
Fix for creating ImageLayer with a string
Browse files Browse the repository at this point in the history
  • Loading branch information
darrynten committed Mar 17, 2018
1 parent 6c62258 commit 5c95ff6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Layers/Layer/ImageLayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ public function __construct(array $config)

$this->canvas = $temp;
} else {
$this->image(
!empty($config['image']) ? $config['image'] : null
);
$this->canvas = !empty($config['image']) ? $config['image'] : null;
}
}

Expand Down

0 comments on commit 5c95ff6

Please sign in to comment.