Skip to content

Commit

Permalink
Fixed image editor
Browse files Browse the repository at this point in the history
  • Loading branch information
karrirasinmaki committed Sep 18, 2018
1 parent 4b8b0a1 commit bbe7741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/image/class-beans-image-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ final class _Beans_Image_Editor {
* Default is STRING.
*/
public function __construct( $src, array $args, $output = 'STRING' ) {
$local_source = beans_url_to_path( $this->src );
$local_source = beans_url_to_path( $src );
$this->src = file_exists( $local_source ) ? $local_source : $src;
$this->args = $args;
$this->output = $output;
Expand Down

0 comments on commit bbe7741

Please sign in to comment.