From f11b57890c193187a55721a2aaa08faf6816edd5 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 10 Oct 2024 10:07:00 +0200 Subject: [PATCH] Show fail date only if failed indeed --- application/views/lotw_views/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/lotw_views/index.php b/application/views/lotw_views/index.php index 9ec2cbd08..4d86c06cc 100644 --- a/application/views/lotw_views/index.php +++ b/application/views/lotw_views/index.php @@ -100,7 +100,7 @@ if ($last_upload_fail_ts > $last_upload_ts) { ?> " class="badge text-bg-danger"> last_upload_status) { ?> + if ($row->last_upload_fail && $last_upload_fail && $row->last_upload_status) { ?> " class="badge text-bg-success">