From 87694c00d244a71b1782c992b17dc41a911ca0b8 Mon Sep 17 00:00:00 2001 From: Marius Date: Wed, 11 Aug 2021 21:41:33 +0200 Subject: [PATCH] Bugfix --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 79af005..587d829 100644 --- a/index.php +++ b/index.php @@ -334,11 +334,12 @@ function display_flat_link_list() { foreach(array_filter($flat_link_list, 'flat_link_list_filter') as $link) { $is_broken = ''; $comment = ''; - foreach($acts as $act) { + foreach(array_reverse($acts) as $act) { $a = explode(' ', $act); if ($a[2] == $link) { if ($a[3] == 'broken') $is_broken = 'checked'; if (!empty($a[4])) $comment = $a[4]; + break; } } $h .= "
" . $link . "";