diff options
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/notification/manager.php | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/phpBB/phpbb/notification/manager.php b/phpBB/phpbb/notification/manager.php index 023e1610f0..8ec5ec4b32 100644 --- a/phpBB/phpbb/notification/manager.php +++ b/phpBB/phpbb/notification/manager.php @@ -921,6 +921,8 @@ class manager  		{  			if (!isset($this->notification_types[$notification_type_name]) && !isset($this->notification_types['notification.type.' . $notification_type_name]))  			{ +				$this->db->sql_transaction('rollback'); +				  				throw new \phpbb\notification\exception('NOTIFICATION_TYPE_NOT_EXIST', array($notification_type_name));  			} | 
