diff options
Diffstat (limited to 'src/model/Locations.php')
| -rw-r--r-- | src/model/Locations.php | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
| 36 | } | 36 | } |
| 37 | public function set(string $entry, string $input) | 37 | public function set(string $entry, string $input) |
| 38 | { | 38 | { |
| 39 | $input = $this->cleanSpecialChars($input); // possibilité que $input devienne une chaine vide | ||
| 39 | switch($entry) | 40 | switch($entry) |
| 40 | { | 41 | { |
| 41 | case "Désignation:": | 42 | case "Désignation:": |
