#3603 - When you click on the notification box the link "Mark All Read" seems to not be working... This is a spacer post for a website comment topic. The content this topic relates to: #3603 - When you click on the notification box the link "Mark All Read" seems to not be working... By Guest posted 1st May 2018, 11:21 PM Do not fill this field in. Yes I've noticed this too. By Guest posted 21st May 2018, 3:01 PM Thanks, will be fixed in next release. Patch is diff --git a/sources/global2.php b/sources/global2.php index a198b592a..040339a3b 100644 --- a/sources/global2.php +++ b/sources/global2.php @@ -157,7 +157,7 @@ function init__global2() require_code('chat_poller'); chat_poller(); } - if ((running_script('notifications')) && (@filemtime(get_custom_file_base() . '/data_custom/modules/web_notifications/latest.dat') <= get_param_integer('time_barrier'))) { + if ((running_script('notifications')) && (@filemtime(get_custom_file_base() . '/data_custom/modules/web_notifications/latest.dat') <= get_param_integer('time_barrier')) && (get_param_string('type', '') == 'poller')) { prepare_for_known_ajax_response(); header('Content-Type: application/xml'); 0 guests and 0 members have recently viewed this. Sort: Relevance Newest first Oldest first Rating Popularity
Patch is
diff --git a/sources/global2.php b/sources/global2.php
index a198b592a..040339a3b 100644
--- a/sources/global2.php
+++ b/sources/global2.php
@@ -157,7 +157,7 @@ function init__global2()
require_code('chat_poller');
chat_poller();
}
- if ((running_script('notifications')) && (@filemtime(get_custom_file_base() . '/data_custom/modules/web_notifications/latest.dat') <= get_param_integer('time_barrier'))) {
+ if ((running_script('notifications')) && (@filemtime(get_custom_file_base() . '/data_custom/modules/web_notifications/latest.dat') <= get_param_integer('time_barrier')) && (get_param_string('type', '') == 'poller')) {
prepare_for_known_ajax_response();
header('Content-Type: application/xml');