diff --git a/app/public/partage/recapitulatif.php b/app/public/partage/recapitulatif.php index 53c30e4..c9dc4bc 100644 --- a/app/public/partage/recapitulatif.php +++ b/app/public/partage/recapitulatif.php @@ -18,8 +18,8 @@ if ($thesisId <= 0) { } $db = Database::getInstance(); -// Only published theses are visible via public recap (no slug-auth here). -$thesis = $db->getThesisById($thesisId); +// Share-link theses may be unpublished; use getThesis() without published filter. +$thesis = $db->getThesis($thesisId); if (!$thesis) { http_response_code(404); die('TFE introuvable.');