diff --git a/html/news.php b/html/news.php index bceac073..bf930bcd 100644 --- a/html/news.php +++ b/html/news.php @@ -65,6 +65,8 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { echo "
" . $row['titre'] . "
"; echo "
" . date('d/m/Y', $date) . "
"; } + } else { + echo "Aucun article trouvé"; } } else if (!isset($_GET['search']) && $article != "" && file_exists('/var/www/e59/content/journal/' . $article . '.md')) { $markdownContent = file_get_contents('/var/www/e59/content/journal/' . $article . '.md');