From 0025ff8fccbcfd8d2e483fdcd465387cb1cb5e63 Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 15 Nov 2023 08:58:42 +0100 Subject: [PATCH] Prevent fetching image from non-existent qrz.com entry --- application/controllers/Logbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index f0ff8f12..4f56f4b7 100644 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -168,7 +168,7 @@ class Logbook extends CI_Controller { $return['confirmed'] = $this->confirmed_grid_before($return['callsign_qra'], $type, $band, $mode); if ($this->session->userdata('user_show_profile_image')) { - if (isset($callbook)) { + if (isset($callbook) && isset($callbook['image'])) { if ($callbook['image'] == "") { $return['image'] = "n/a"; } else {