From 546302cde914a2143f86e6a384cbc5085d55396a Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 2 Jun 2024 23:19:01 +0200 Subject: =?UTF-8?q?m=C3=A9thode=20cleanSpecialChars()=20pour=20g=C3=A9rer?= =?UTF-8?q?=20les=20",=20un=20peu=20sale?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/Locations.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/model/Locations.php') diff --git a/src/model/Locations.php b/src/model/Locations.php index ead2727..103cecd 100644 --- a/src/model/Locations.php +++ b/src/model/Locations.php @@ -36,6 +36,7 @@ class Locations extends Model } public function set(string $entry, string $input) { + $input = $this->cleanSpecialChars($input); // possibilité que $input devienne une chaine vide switch($entry) { case "Désignation:": -- cgit v1.2.3