From 90b3efeeb9d939303ff80b180725e06e2e57af79 Mon Sep 17 00:00:00 2001 From: polo Date: Thu, 13 Apr 2023 03:02:57 +0200 Subject: =?UTF-8?q?=C3=A9diteur=20page=20album?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/discographie.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'view/discographie.php') diff --git a/view/discographie.php b/view/discographie.php index 1660b0c..206a9b8 100644 --- a/view/discographie.php +++ b/view/discographie.php @@ -15,7 +15,7 @@ ob_start(); ?> fileListCount; $i++) // éditeur ou bouton "Nouvel album" if($_SESSION['admin'] == 1) { - if(isset($_GET['action']) && $_GET['action'] == 'edition' && $fileCode == '') + if(isset($_GET['action']) && $_GET['action'] === 'edition' && $fileCode === '') { $style = 'class="articleAvecEditeur"'; ?> @@ -112,9 +112,9 @@ for($i = 0; $i < $Albums->fileListCount; $i++) ?>
> fileList[$i]['fileCode'] == $fileCode) { ?> -- cgit v1.2.3