mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/11103] Fixing some db columns that were of the incorrect type
PHPBB3-11103
This commit is contained in:
@@ -141,7 +141,7 @@ class phpbb_notifications_service
|
||||
*/
|
||||
|
||||
// find out which users want to receive this type of notification
|
||||
$notify_users = $item_type_class_name::find_users_for_notification($data);
|
||||
$notify_users = $item_type_class_name::find_users_for_notification($this->phpbb_container, $data);
|
||||
|
||||
// Make sure not to send new notifications to users who've already been notified about this item
|
||||
// This may happen when an item was added, but now new users are able to see the item
|
||||
@@ -155,6 +155,11 @@ class phpbb_notifications_service
|
||||
}
|
||||
$this->db->sql_freeresult($result);
|
||||
|
||||
if (!sizeof($notify_users))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Go through each user so we can insert a row in the DB and then notify them by their desired means
|
||||
foreach ($notify_users as $user => $methods)
|
||||
{
|
||||
|
Reference in New Issue
Block a user