From a95176f58819e8047ee595ff192a579270f810a5 Mon Sep 17 00:00:00 2001 From: Danilo Argentiero Date: Thu, 6 Sep 2018 08:40:21 +0200 Subject: [PATCH] Fix - Argument passed --- Plugin/WysiwygImagePlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugin/WysiwygImagePlugin.php b/Plugin/WysiwygImagePlugin.php index 6f86218..88c1019 100644 --- a/Plugin/WysiwygImagePlugin.php +++ b/Plugin/WysiwygImagePlugin.php @@ -42,7 +42,7 @@ public function aroundGetImageHtmlDeclaration( $absolutePath = $subject->getCurrentPath() . '/' . $filename; return $this->mediaDir->getRelativePath($absolutePath); } - $result = $proceed(); + $result = $proceed($filename, $renderAsTag); return $result; } @@ -53,4 +53,4 @@ private function returnRelativePath($renderAsTag): bool } return false; } -} \ No newline at end of file +}