From 3d8de7790c999543b3eda5a7401170e14b840844 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 2 Jan 2022 16:34:46 +0100 Subject: [PATCH] Fix restore color if we cancel color selection --- htdocs/core/class/html.formother.class.php | 34 ++++++++++++++++------ 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index c25f5bdb719..2b7466628a5 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -844,6 +844,7 @@ class FormOther $out .= ''; $out .= ''; @@ -922,11 +938,11 @@ class FormOther // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** - * Creation d'un icone de couleur + * Creae an image for color * - * @param string $color Couleur de l'image - * @param string $module Nom du module - * @param string $name Nom de l'image + * @param string $color Color of image + * @param string $module Name of module + * @param string $name Name of image * @param int $x Largeur de l'image en pixels * @param int $y Hauteur de l'image en pixels * @return void