diff options
Diffstat (limited to 'controller/admin.php')
| -rw-r--r-- | controller/admin.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
| 31 | { | 31 | { |
| 32 | // nom de l'article ciblé (objet et session) | 32 | // nom de l'article ciblé (objet et session) |
| 33 | $Articles->fileCode = $fileCode; | 33 | $Articles->fileCode = $fileCode; |
| 34 | $_SESSION['target'] = $Articles->fileCode; | 34 | $_SESSION['file_code'] = $Articles->fileCode; |
| 35 | 35 | ||
| 36 | if($suppression) | 36 | if($suppression) |
| 37 | { | 37 | { |
| @@ -212,7 +212,7 @@ function albumEdit($fileCode, int $suppression) | |||
| 212 | { | 212 | { |
| 213 | $page = 'album'; | 213 | $page = 'album'; |
| 214 | $Albums->readOne(); | 214 | $Albums->readOne(); |
| 215 | $_SESSION['target'] = $fileCode; | 215 | $_SESSION['file_code'] = $fileCode; |
| 216 | $title = "Modifier un album"; | 216 | $title = "Modifier un album"; |
| 217 | 217 | ||
| 218 | for($i = 0; $i < $Albums->fileListCount; $i++) | 218 | for($i = 0; $i < $Albums->fileListCount; $i++) |
