aboutsummaryrefslogtreecommitdiff
path: root/src/Service/FormValidation.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2026-10-23 23:29:59 +0200
committerpolo <ordipolo@gmx.fr>2026-10-23 23:29:59 +0200
commit126a49185229f248eae8c485b3e16e029ebcb353 (patch)
tree7877918b7067103d667d522883e04f0129a1addc /src/Service/FormValidation.php
parent5a25142d778eafdec33d10d673bd4abc5fe38d1c (diff)
downloadcms-polo1.tar.gz
cms-polo1.tar.bz2
cms-polo1.zip
audit claude code 1, validation formulaire toujours ok, échappement dans URL, quelques htmlspecialchars manquants, fonction Security::validateURLpolo1
Diffstat (limited to 'src/Service/FormValidation.php')
-rw-r--r--src/Service/FormValidation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Service/FormValidation.php b/src/Service/FormValidation.php
index d91aa12..9f4564f 100644
--- a/src/Service/FormValidation.php
+++ b/src/Service/FormValidation.php
@@ -46,7 +46,7 @@ class FormValidation
46 public function validate(): bool 46 public function validate(): bool
47 { 47 {
48 $this->error = ($this->callStrategy)(); // appel de la callback 48 $this->error = ($this->callStrategy)(); // appel de la callback
49 return empty($this->errors); 49 return $this->error === null;
50 } 50 }
51 51
52 public function getError(): string 52 public function getError(): string