From e63e1aba8a34bfd797be5b768bb3c1b3243da69e Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 20 Nov 2023 18:19:00 +0700 Subject: [PATCH] Fixed topic_watch array key name (#1136) --- viewtopic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/viewtopic.php b/viewtopic.php index a2642974f..9d853f568 100644 --- a/viewtopic.php +++ b/viewtopic.php @@ -424,10 +424,10 @@ $s_watching_topic = $s_watching_topic_img = ''; 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 = isset($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 = isset($images['topic_watch']) ? "' . $lang['START_WATCHING_TOPIC'] . '' : ''; } }