From 08a814f6290500f2b4e024b8841a29d9fc3974f5 Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 22 May 2023 10:26:45 +0200 Subject: [PATCH] Only show download function if result is not empty --- application/views/eqsl/download.php | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/application/views/eqsl/download.php b/application/views/eqsl/download.php index 2fb8bb10..d4c2319b 100644 --- a/application/views/eqsl/download.php +++ b/application/views/eqsl/download.php @@ -58,16 +58,7 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) { echo ""; ?> - -There are no QSOs whose eQSL card images have not yet been downloaded. Go log some more QSOs!

"; - } -?> - -
- load->view('layout/messages'); ?> - +

@@ -79,7 +70,13 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) { -
+ +There are no QSOs whose eQSL card images have not yet been downloaded. Go log some more QSOs!

"; + } +?> +