diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php index 8d3148c..bd3eec7 100644 --- a/public/index.php +++ b/public/index.php | |||
@@ -53,7 +53,7 @@ require '../src/controller/post.php'; | |||
53 | $id = ''; | 53 | $id = ''; |
54 | if(!empty($_GET['id'])) | 54 | if(!empty($_GET['id'])) |
55 | { | 55 | { |
56 | $id = htmlspecialchars($_GET['id']); | 56 | $id = htmlspecialchars($_GET['id']); // nettoyage qui n'abime pas les id du genre "n16" |
57 | } | 57 | } |
58 | 58 | ||
59 | if(isset($_GET['action']) && $_GET['action'] === 'deconnexion') | 59 | if(isset($_GET['action']) && $_GET['action'] === 'deconnexion') |