Code commits
phpBB Master
-
Marc ece91e92c388c5ccaf6a86734771a2cbb220cd1a
Merge branch '3.2.x'
-
Marc 1c567daf392118f3898b914d5b4535ee440c7681 m
Merge branch '3.1.x' into 3.2.x
-
Marc 365489a3171b4d16e645215c4fe4e39ae7c95f4c m
Merge pull request #4548 from nicebb/ticket/13757
[ticket/13757] Prevents the count of unread PMs from being negative -
Victor A. Safronov <vitek@vitek.tomsk.ru> 10753454bf697f411051988e7c841d1eb80cd114 m
[ticket/13757] Prevents the count of unread PMs from being negative
Sometimes the user_unread_privmsg flag in users table can become negative.
It happens when the unread message is requested by simultaneous concurrent
requests. Both requests will decrement the value of the flag.
This commit prevents updating the flag if the message already marked as read.
PHPBB3-13757- phpBB/includes/functions_privmsgs.php (version 10753454bf697f411051988e7c841d1eb80cd114)