From 35664c9e096e0e082131addb7ed0c899a7f16521 Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 6 Jul 2023 16:40:17 +0000 Subject: [PATCH] Fixes bug: if there's no (e)qsl-image at the database, qsl-detail-view will try to fetch /images/eqsl_card_images/ which produces a 403 --- application/views/view_log/qso.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/views/view_log/qso.php b/application/views/view_log/qso.php index 9fee6860..e036b4e5 100644 --- a/application/views/view_log/qso.php +++ b/application/views/view_log/qso.php @@ -561,7 +561,9 @@
eqsl_image_file .'" alt="QSL picture #'. $i++.'">'; + if ($row->eqsl_image_file != null) { + echo 'QSL picture #'. $i++.''; + } ?>