We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 1d9aaa5d authored by Rik ter Beek's avatar Rik ter Beek

#66 use findSource method instead of deprecated findRelativeSourceFilePath

parent 2944c2c7
...@@ -721,9 +721,8 @@ class Data extends AbstractHelper ...@@ -721,9 +721,8 @@ class Data extends AbstractHelper
'Adyen_Payment::images/logos/' . $logoName . '.png' 'Adyen_Payment::images/logos/' . $logoName . '.png'
); );
$placeholder = $this->findRelativeSourceFilePath($asset);
$icon = null; $icon = null;
$placeholder = $this->assetSource->findSource($asset);
if ($placeholder) { if ($placeholder) {
list($width, $height) = getimagesize($asset->getSourceFile()); list($width, $height) = getimagesize($asset->getSourceFile());
$icon = [ $icon = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment