mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11413] $user should have been $this->user
PHPBB3-11413
This commit is contained in:
parent
4e073eb818
commit
ad430ae406
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ class phpbb_notification_manager
|
||||||
{
|
{
|
||||||
if (!isset($this->notification_types[$notification_type_name]) && !isset($this->notification_types['notification.type.' . $notification_type_name]))
|
if (!isset($this->notification_types[$notification_type_name]) && !isset($this->notification_types['notification.type.' . $notification_type_name]))
|
||||||
{
|
{
|
||||||
throw new phpbb_notification_exception($user->lang('NOTIFICATION_TYPE_NOT_EXIST', $notification_type_name));
|
throw new phpbb_notification_exception($this->user->lang('NOTIFICATION_TYPE_NOT_EXIST', $notification_type_name));
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'INSERT INTO ' . $this->notification_types_table . ' ' . $this->db->sql_build_array('INSERT', array(
|
$sql = 'INSERT INTO ' . $this->notification_types_table . ' ' . $this->db->sql_build_array('INSERT', array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue