aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2017-03-21 22:31:18 +0700
committerMarc Alexander <admin@m-a-styles.de>2018-01-01 13:56:03 +0100
commite1376e14ded58c3f4135253d7329db0676e49c87 (patch)
tree829d122939b0d6cdfe7fc87f0810f1e731c4e6d5 /phpBB/phpbb/notification
parentdec06d10fedb43bc948fe438b6f581ac7caa1916 (diff)
downloadforums-e1376e14ded58c3f4135253d7329db0676e49c87.tar
forums-e1376e14ded58c3f4135253d7329db0676e49c87.tar.gz
forums-e1376e14ded58c3f4135253d7329db0676e49c87.tar.bz2
forums-e1376e14ded58c3f4135253d7329db0676e49c87.tar.xz
forums-e1376e14ded58c3f4135253d7329db0676e49c87.zip
[ticket/14972] Fix create_insert_array() declaration in admin_activate_user
PHPBB3-14972
Diffstat (limited to 'phpBB/phpbb/notification')
-rw-r--r--phpBB/phpbb/notification/type/admin_activate_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/admin_activate_user.php b/phpBB/phpbb/notification/type/admin_activate_user.php
index 9f2ae857ef..78c10ac36a 100644
--- a/phpBB/phpbb/notification/type/admin_activate_user.php
+++ b/phpBB/phpbb/notification/type/admin_activate_user.php
@@ -175,7 +175,7 @@ class admin_activate_user extends \phpbb\notification\type\base
/**
* {@inheritdoc}
*/
- public function create_insert_array($user, $pre_create_data)
+ public function create_insert_array($user, $pre_create_data = array())
{
$this->set_data('user_actkey', $user['user_actkey']);
$this->notification_time = $user['user_regdate'];