mirror of
https://github.com/e107inc/e107.git
synced 2025-03-21 04:49:51 +01:00
Merge pull request #3600 from Jimmi08/patch-8
Fixes #3338 - marked more than one forum as read
This commit is contained in:
commit
42c2e42dcb
@ -1586,6 +1586,7 @@ class e107forum
|
||||
$tmp = array_unique($_tmp);
|
||||
// issue #3338 fixed typo, that caused issue with not marking threads are read
|
||||
$viewed = trim(implode(',', $tmp), ',');
|
||||
$currentUser['user_plugin_forum_viewed'] = $viewed;
|
||||
return e107::getDb()->update('user_extended', "user_plugin_forum_viewed = '{$viewed}' WHERE user_extended_id = ".USERID);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user