From 1c603b514a7adb7ca46036561fb0d213513478ff Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 20 Nov 2023 18:50:34 +0700 Subject: [PATCH] Update viewtopic.php --- viewtopic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/viewtopic.php b/viewtopic.php index fbb48e98..612fe484 100644 --- a/viewtopic.php +++ b/viewtopic.php @@ -500,12 +500,12 @@ if ($can_watch_topic) if ($is_watching_topic) { $s_watching_topic = "' . $lang['STOP_WATCHING_TOPIC'] . ''; - $s_watching_topic_img = (isset($images['topic_un_watch'])) ? "' . $lang['STOP_WATCHING_TOPIC'] . '' : ''; + $s_watching_topic_img = (!empty($images['topic_un_watch'])) ? "' . $lang['STOP_WATCHING_TOPIC'] . '' : ''; } else { $s_watching_topic = "' . $lang['START_WATCHING_TOPIC'] . ''; - $s_watching_topic_img = (isset($images['Topic_watch'])) ? "' . $lang['START_WATCHING_TOPIC'] . '' : ''; + $s_watching_topic_img = (!empty($images['topic_watch'])) ? "' . $lang['START_WATCHING_TOPIC'] . '' : ''; } }