mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 09:46:46 +02:00
[ticket/11103] Fix sending the user ids to get the username/avatar
PHPBB3-11103
This commit is contained in:
@@ -161,7 +161,7 @@ class phpbb_notification_type_pm extends phpbb_notification_type_base
|
|||||||
*/
|
*/
|
||||||
public function users_to_query()
|
public function users_to_query()
|
||||||
{
|
{
|
||||||
return array($this->data['from_user_id']);
|
return array($this->get_data('from_user_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -205,7 +205,7 @@ class phpbb_notification_type_report_pm extends phpbb_notification_type_pm
|
|||||||
*/
|
*/
|
||||||
public function users_to_query()
|
public function users_to_query()
|
||||||
{
|
{
|
||||||
return array($this->data['reporter_id']);
|
return array($this->get_data('reporter_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -130,7 +130,7 @@ class phpbb_notification_type_report_pm_closed extends phpbb_notification_type_p
|
|||||||
*/
|
*/
|
||||||
public function users_to_query()
|
public function users_to_query()
|
||||||
{
|
{
|
||||||
return array($this->data['closer_id']);
|
return array($this->get_data('closer_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -172,7 +172,7 @@ class phpbb_notification_type_report_post extends phpbb_notification_type_post_i
|
|||||||
*/
|
*/
|
||||||
public function users_to_query()
|
public function users_to_query()
|
||||||
{
|
{
|
||||||
return array($this->data['reporter_id']);
|
return array($this->get_data('reporter_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -130,7 +130,7 @@ class phpbb_notification_type_report_post_closed extends phpbb_notification_type
|
|||||||
*/
|
*/
|
||||||
public function users_to_query()
|
public function users_to_query()
|
||||||
{
|
{
|
||||||
return array($this->data['closer_id']);
|
return array($this->get_data('closer_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -208,7 +208,7 @@ class phpbb_notification_type_topic extends phpbb_notification_type_base
|
|||||||
*/
|
*/
|
||||||
public function users_to_query()
|
public function users_to_query()
|
||||||
{
|
{
|
||||||
return array($this->data['poster_id']);
|
return array($this->get_data('poster_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user