aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/ucp/ucp_profile.php')
-rw-r--r--phpBB/includes/ucp/ucp_profile.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index e070ba8453..e9ef944986 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -180,8 +180,10 @@ class ucp_profile
$messenger->save_queue();
$sql_ary += array(
- 'user_type' => USER_INACTIVE,
- 'user_actkey' => $user_actkey
+ 'user_type' => USER_INACTIVE,
+ 'user_actkey' => $user_actkey,
+ 'user_inactive_reason' => INACTIVE_PROFILE,
+ 'user_inactive_time' => time(),
);
}