From cf7c6b1b9ea1e10f65368c4903036b2d23bc973b Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Wed, 21 Sep 2022 16:25:37 +0200 Subject: [PATCH] related to #1705 Fixing size saving and warnings --- admin/themes/default/template/configuration_sizes.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/themes/default/template/configuration_sizes.tpl b/admin/themes/default/template/configuration_sizes.tpl index 170766120..28ef39a47 100644 --- a/admin/themes/default/template/configuration_sizes.tpl +++ b/admin/themes/default/template/configuration_sizes.tpl @@ -85,7 +85,7 @@ $(".restore-settings-button").each(function() {
{'Original Size'|translate} - {if $is_gd} + {if (isset($is_gd) and $is_gd)}
{'Resize after upload disabled due to the use of GD as graphic library'|translate} @@ -97,7 +97,7 @@ $(".restore-settings-button").each(function() {