From 973005f5edddd1d2adf843b8632c01fc8947dd28 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 23 Sep 2023 23:08:17 +0700 Subject: [PATCH] Minor improvements (#910) --- library/includes/page_footer.php | 8 ++++---- library/includes/ucp/topic_watch.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/library/includes/page_footer.php b/library/includes/page_footer.php index 4d561a248..689129a6b 100644 --- a/library/includes/page_footer.php +++ b/library/includes/page_footer.php @@ -62,10 +62,10 @@ if ($show_dbg_info) { } $stat .= '  ]'; - $stat .= ' -   - '; - $stat .= !empty($_COOKIE['sql_log']) ? ' [ wrap · max ·  ]' : ''; + $stat .= !empty($_COOKIE['sql_log']) ? ' [ wrap · max ] |' : ''; + $stat .= '  | +  | + '; echo '
' . $stat . '
'; } diff --git a/library/includes/ucp/topic_watch.php b/library/includes/ucp/topic_watch.php index 9c6ef028d..4ce7e0aa1 100644 --- a/library/includes/ucp/topic_watch.php +++ b/library/includes/ucp/topic_watch.php @@ -7,7 +7,7 @@ * @license https://github.com/torrentpier/torrentpier/blob/master/LICENSE MIT License */ -if (empty($bb_cfg['topic_notify_enabled'])) { +if (!$bb_cfg['topic_notify_enabled']) { bb_die($lang['DISABLED']); }