Project

General

Profile

Bug #104639 ยป GifBuilder.php.patch

Thomas Oliver Moll, 2024-08-15 16:30

View differences:

GifBuilder_new.php 2024-08-15 18:27:05.173877804 +0200
$isStdWrapped = [];
foreach ($conf['shadow.'] as $key => $value) {
$parameter = rtrim($key, '.');
if (!$isStdWrapped[$parameter] && isset($conf[$parameter . '.'])) {
if (!($isStdWrapped[$parameter] ?? false) && isset($conf[$parameter . '.'])) {
$conf['shadow.'][$parameter] = $this->cObj->stdWrapValue($parameter, $conf);
$isStdWrapped[$parameter] = 1;
}
......
$isStdWrapped = [];
foreach ($conf['emboss.'] as $key => $value) {
$parameter = rtrim($key, '.');
if (!$isStdWrapped[$parameter] && isset($conf[$parameter . '.'])) {
if (!($isStdWrapped[$parameter] ?? false) && isset($conf[$parameter . '.'])) {
$conf['emboss.'][$parameter] = $this->cObj->stdWrapValue($parameter, $conf);
$isStdWrapped[$parameter] = 1;
}
......
$isStdWrapped = [];
foreach ($conf['outline.'] as $key => $value) {
$parameter = rtrim($key, '.');
if (!$isStdWrapped[$parameter] && isset($conf[$parameter . '.'])) {
if (!($isStdWrapped[$parameter] ?? false) && isset($conf[$parameter . '.'])) {
$conf['outline.'][$parameter] = $this->cObj->stdWrapValue($parameter, $conf);
$isStdWrapped[$parameter] = 1;
}
    (1-1/1)