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'] . '' : ''; } }