From f11d84c6a1017ed51bf7be1cecc1bffcd9084e47 Mon Sep 17 00:00:00 2001 From: polo Date: Tue, 20 Oct 2026 23:16:14 +0200 Subject: =?UTF-8?q?mise=20en=20place=20de=20l'h=C3=A9ritage=204,=20petit?= =?UTF-8?q?=20bug=20modif=20presta=20non=20vendue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/entities/NonVendue.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/model/entities/NonVendue.php') diff --git a/src/model/entities/NonVendue.php b/src/model/entities/NonVendue.php index 5a8879e..d875eb5 100644 --- a/src/model/entities/NonVendue.php +++ b/src/model/entities/NonVendue.php @@ -25,7 +25,18 @@ class NonVendue extends Prestation return $this; } - //public function set(string $entry, string $input): void // pas nécessaire ici + public function set(string $entry, string $input): void + { + $input = $this->cleanSpecialChars($input); // possibilité que $input devienne une chaîne vide + switch($entry) + { + case "Tâches:": + $this->setTaches($input); + break; + default: + parent::set($entry, $input); + } + } public function validateForm(array $data_array): bool { -- cgit v1.2.3