mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-12 20:56:40 +02:00
[ticket/17010] Correctly fill subscription map for multiple subscriptions
PHPBB3-17010
This commit is contained in:
@ -176,14 +176,7 @@ class webpush extends messenger_base
|
|||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
while ($row = $this->db->sql_fetchrow($result))
|
while ($row = $this->db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
if (isset($user_subscription_map[$row['user_id']]))
|
$user_subscription_map[$row['user_id']][] = $row;
|
||||||
{
|
|
||||||
$user_subscription_map[$row['user_id']] += $row;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$user_subscription_map[$row['user_id']] = [$row];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$auth = [
|
$auth = [
|
||||||
|
Reference in New Issue
Block a user