[ticket/11413] $user should have been $this->user

PHPBB3-11413
This commit is contained in:
Nathaniel Guse 2013-05-13 00:41:57 -05:00
parent 4e073eb818
commit ad430ae406

View file

@ -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]))
{
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(