diff --git a/html/upload.php b/html/upload.php
index 8b08a0ba..c1c139fb 100644
--- a/html/upload.php
+++ b/html/upload.php
@@ -15,7 +15,7 @@ while(file_exists($wwwroot . "/content/journal/" . $filename . ".md")) {
}
if(isset($_POST['article-content'])) {
- file_put_contents($wwwroot . "/content/journal/" . $filename . ".md", nl2br($_POST['page-content']));
+ file_put_contents($wwwroot . "/content/journal/" . $filename . ".md", nl2br($_POST['article-content']));
$bdd = connect($dbhost, $dbname, $dbuser, $dbpass);
$upload = $bdd->prepare("INSERT INTO articles (ID, titre, auteur, resume, classification) VALUES (:filename, :titre, :auteur, :resume, :classification)");