diff --git a/html/admin.php b/html/admin.php index f6ab649c..4f6dc421 100644 --- a/html/admin.php +++ b/html/admin.php @@ -46,6 +46,7 @@ if(isset($_SESSION['userid']) == false) {
diff --git a/html/editpage.php b/html/editpage.php index c4451f84..b919e01f 100644 --- a/html/editpage.php +++ b/html/editpage.php @@ -16,7 +16,7 @@ if(isset($_SESSION['userid']) == false) { } if(isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT)) { - if(file_exists($repertoire . "content/journal/" . $_GET['article'] . ".md";)){ + if(file_exists($repertoire . "content/journal/" . $_GET['article'] . ".md")){ $fichier = $repertoire . "content/journal/" . $_GET['article'] . ".md"; $filename = $_GET['article']; $filetype = 0;