summaryrefslogtreecommitdiff
path: root/src/model/CESU.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2024-06-02 23:19:01 +0200
committerpolo <ordipolo@gmx.fr>2024-06-02 23:19:01 +0200
commit546302cde914a2143f86e6a384cbc5085d55396a (patch)
treeb6e059ed2e7689c29c06d7c92c0d4f30aa9b5022 /src/model/CESU.php
parent46591fffb0226b0fa87e68248b06182389825f80 (diff)
downloadAppliGestionPHP-546302cde914a2143f86e6a384cbc5085d55396a.zip
méthode cleanSpecialChars() pour gérer les ", un peu sale
Diffstat (limited to 'src/model/CESU.php')
-rw-r--r--src/model/CESU.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/CESU.php b/src/model/CESU.php
index f6c6630..8bea94d 100644
--- a/src/model/CESU.php
+++ b/src/model/CESU.php
@@ -26,6 +26,7 @@ class CESU extends Model
26 } 26 }
27 public function set(string $entry, string $input) 27 public function set(string $entry, string $input)
28 { 28 {
29 $input = $this->cleanSpecialChars($input); // possibilité que $input devienne une chaine vide
29 switch($entry) 30 switch($entry)
30 { 31 {
31 case "Tâche effectuée:": 32 case "Tâche effectuée:":