summaryrefslogtreecommitdiff
path: root/src/model/entities/Page.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-06-25 01:11:23 +0200
committerpolo <ordipolo@gmx.fr>2025-06-25 01:11:23 +0200
commite30385768e2ff259e384973ec451cff8f3b9ddbb (patch)
tree24284b782b52fa1bea8f079991edecc7655fe657 /src/model/entities/Page.php
parent7a13d53e43c7db7fe39474208ffa54ba2906d308 (diff)
downloadcms-e30385768e2ff259e384973ec451cff8f3b9ddbb.zip
erreurs dans makeStartPage et dans des entités
Diffstat (limited to 'src/model/entities/Page.php')
-rw-r--r--src/model/entities/Page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/entities/Page.php b/src/model/entities/Page.php
index 7448e5d..bcf49db 100644
--- a/src/model/entities/Page.php
+++ b/src/model/entities/Page.php
@@ -40,7 +40,7 @@ class Page
40 #[ORM\Column(type: "integer", nullable: true)] // null si hors menu 40 #[ORM\Column(type: "integer", nullable: true)] // null si hors menu
41 private ?int $position; 41 private ?int $position;
42 42
43 #[ORM\ManyToOne(targetEntity: self::class)] 43 #[ORM\ManyToOne(targetEntity: self::class, inversedBy: "children")]
44 #[ORM\JoinColumn(name: "parent_id", referencedColumnName: "id_page", onDelete: "SET NULL", nullable: true)] 44 #[ORM\JoinColumn(name: "parent_id", referencedColumnName: "id_page", onDelete: "SET NULL", nullable: true)]
45 private ?self $parent = null; 45 private ?self $parent = null;
46 46