From a7424c551f68c126fe512f0a153da060a18b621e Mon Sep 17 00:00:00 2001 From: martinknor Date: Thu, 10 Mar 2016 10:11:33 +0100 Subject: [PATCH] Bug - missing argument for friendly url --- src/ImageStorage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ImageStorage.php b/src/ImageStorage.php index 243d28d..027d4ca 100644 --- a/src/ImageStorage.php +++ b/src/ImageStorage.php @@ -347,7 +347,7 @@ public function getNoImage($return_image = FALSE) } if ($return_image) { - return new Image($this->data_dir, $this->data_path, $identifier); + return new Image($this->friendly_url, $this->data_dir, $this->data_path, $identifier); } $script = ImageNameScript::fromIdentifier($identifier); @@ -355,7 +355,7 @@ public function getNoImage($return_image = FALSE) } if ($return_image) { - return new Image($this->data_dir, $this->data_path, $this->noimage_identifier); + return new Image($this->friendly_url, $this->data_dir, $this->data_path, $this->noimage_identifier); } return [$script, $file];