mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17010] Correctly fill subscription map for multiple subscriptions
PHPBB3-17010
This commit is contained in:
parent
6cc8df5d95
commit
c35e9c2438
1 changed files with 1 additions and 8 deletions
|
@ -176,14 +176,7 @@ class webpush extends messenger_base
|
|||
$result = $this->db->sql_query($sql);
|
||||
while ($row = $this->db->sql_fetchrow($result))
|
||||
{
|
||||
if (isset($user_subscription_map[$row['user_id']]))
|
||||
{
|
||||
$user_subscription_map[$row['user_id']] += $row;
|
||||
}
|
||||
else
|
||||
{
|
||||
$user_subscription_map[$row['user_id']] = [$row];
|
||||
}
|
||||
$user_subscription_map[$row['user_id']][] = $row;
|
||||
}
|
||||
|
||||
$auth = [
|
||||
|
|
Loading…
Add table
Reference in a new issue