We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3744a1 commit 4431061Copy full SHA for 4431061
app/code/Magento/Catalog/Model/View/Asset/Image.php
@@ -299,6 +299,10 @@ private function getImageInfo()
299
// even if an encryption key was changed.
300
$keys = explode("\n", $this->encryptor->exportKeys());
301
302
+ if (count($keys) === 1) {
303
+ return $this->generatePath($data, $this->decodeKey($keys[0]));
304
+ }
305
+
306
foreach ($keys as $key) {
307
$key = $this->decodeKey($key);
308
0 commit comments