aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-05-13 00:41:57 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-05-13 00:41:57 -0500
commitad430ae406fc2bfc21f35ee068b1eb809f39f963 (patch)
treecc7b26c8c75ee41f2c9649358a73025a44bf20c3
parent4e073eb818fc377ced5471c704d0755b0e5494e6 (diff)
downloadforums-ad430ae406fc2bfc21f35ee068b1eb809f39f963.tar
forums-ad430ae406fc2bfc21f35ee068b1eb809f39f963.tar.gz
forums-ad430ae406fc2bfc21f35ee068b1eb809f39f963.tar.bz2
forums-ad430ae406fc2bfc21f35ee068b1eb809f39f963.tar.xz
forums-ad430ae406fc2bfc21f35ee068b1eb809f39f963.zip
[ticket/11413] $user should have been $this->user
PHPBB3-11413
-rw-r--r--phpBB/includes/notification/manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/notification/manager.php b/phpBB/includes/notification/manager.php
index bf437e95f0..97833710c0 100644
--- a/phpBB/includes/notification/manager.php
+++ b/phpBB/includes/notification/manager.php
@@ -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(