summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-06-16 14:51:29 +0200
committerpolo <ordipolo@gmx.fr>2025-06-16 14:51:29 +0200
commit92c511f4aaa156e5c943ef553645a066cfb8db9e (patch)
treee3d461da6f548c286fe277e6f287408e2bff6d03 /src
parentfa5a9a434f02f16166d1098f8a60f067830720eb (diff)
downloadcms-92c511f4aaa156e5c943ef553645a066cfb8db9e.zip
erreur titre HTML trop long, images déformées
Diffstat (limited to 'src')
-rw-r--r--src/model/entities/Article.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/entities/Article.php b/src/model/entities/Article.php
index ca1b074..14028ec 100644
--- a/src/model/entities/Article.php
+++ b/src/model/entities/Article.php
@@ -22,7 +22,7 @@ class Article
22 #[ORM\Column(type: 'datetime', options: ['default' => 'CURRENT_TIMESTAMP'], unique: true)] 22 #[ORM\Column(type: 'datetime', options: ['default' => 'CURRENT_TIMESTAMP'], unique: true)]
23 private ?\DateTime $date_time; // le type datetime de doctrine convertit en type \DateTime de PHP 23 private ?\DateTime $date_time; // le type datetime de doctrine convertit en type \DateTime de PHP
24 24
25 #[ORM\Column(type: "string")] 25 #[ORM\Column(type: "text")] // "string" => varchar(255) => risque HTML non valide
26 private string $title; 26 private string $title;
27 27
28 #[ORM\Column(type: "text")] 28 #[ORM\Column(type: "text")]