- First commit to issue fork.
-
rembrandx →
committed 16b6b241 on 3.x
[#3333455] Correct aspect render key.
-
rembrandx →
committed 16b6b241 on 3.x
Preprocess image style contains following code:
// build an inline style to make space for the image
if (isset($image_width) && isset($image_height)) {
$variables['image']['aspect'] = round($image_height / $image_width * 10000) / 100 . '%';
};
This returns following warning.
User error: "aspect" is an invalid render array key in Drupal\Core\Render\Element::children() (line 98 of /var/www/html/docroot/core/lib/Drupal/Core/Render/Element.php)
This is because the key should be preceded with a # sign.
Needs review
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
[#3333455] Correct aspect render key.