From 839981c313ee806ea8cc263a081e911a164d1c4f Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 30 Apr 2023 16:25:08 +0200 Subject: bricoles --- controller/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controller/admin.php') diff --git a/controller/admin.php b/controller/admin.php index f3eeeca..038d4c3 100644 --- a/controller/admin.php +++ b/controller/admin.php @@ -31,7 +31,7 @@ function pageArticlesSimplesAdmin(string $page, string $title, string $headerPai { // nom de l'article ciblé (objet et session) $Articles->fileCode = $fileCode; - $_SESSION['target'] = $Articles->fileCode; + $_SESSION['file_code'] = $Articles->fileCode; if($suppression) { @@ -212,7 +212,7 @@ function albumEdit($fileCode, int $suppression) { $page = 'album'; $Albums->readOne(); - $_SESSION['target'] = $fileCode; + $_SESSION['file_code'] = $fileCode; $title = "Modifier un album"; for($i = 0; $i < $Albums->fileListCount; $i++) -- cgit v1.2.3