From 16793376da2e14cf75d2040c9f2d1e085bdb01e3 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 17 Mar 2026 16:30:05 +0100 Subject: [PATCH] wait #8062 @0.5 --- .../Operations/FluidbookCollection/AuditLinksOperation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/Operations/FluidbookCollection/AuditLinksOperation.php b/app/Http/Controllers/Admin/Operations/FluidbookCollection/AuditLinksOperation.php index 0ca3755bb..9d918dac8 100644 --- a/app/Http/Controllers/Admin/Operations/FluidbookCollection/AuditLinksOperation.php +++ b/app/Http/Controllers/Admin/Operations/FluidbookCollection/AuditLinksOperation.php @@ -262,6 +262,7 @@ trait AuditLinksOperation 404 => __('Not found: the page does not exist anymore'), 401 => __('Unauthorized: the page may be accessible only to logged in users'), 403 => __('The auditing tool may have been blocked by a anti bot protection. A manual check may be needed'), + 406 => __('The auditing tool cannot open the page. A manual check may be needed'), 400 => __('Bad request'), 600 => __('The URL is invalid'), 429 => __('The URL is invalid'), @@ -313,7 +314,7 @@ trait AuditLinksOperation if ($column !== "new_url") { $style->getProtection()->setLocked(Protection::PROTECTION_PROTECTED); } - if ($column === 'http_code' || $column === 'target_code' && isset($codes[$value])) { + if (($column === 'http_code' || $column === 'target_code') && isset($codes[$value])) { $c = $sheet->getComment([$col, $row]); $c->getText()->createText($codes[$value]); $c->setWidth('300px'); -- 2.39.5