aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorgeetakshi <geetakshi.19@gmail.com>2014-03-20 01:48:52 +0530
committergeetakshi <geetakshi.19@gmail.com>2014-03-20 01:48:52 +0530
commit9a3011c2dd844a13d9d08192fe5463941a08ffcd (patch)
tree964fb465269c5ea49c776aa10913342e6b7d4fff /phpBB/memberlist.php
parent66ed9881dfb143dc0d430132cf351f64ecc73bcb (diff)
downloadforums-9a3011c2dd844a13d9d08192fe5463941a08ffcd.tar
forums-9a3011c2dd844a13d9d08192fe5463941a08ffcd.tar.gz
forums-9a3011c2dd844a13d9d08192fe5463941a08ffcd.tar.bz2
forums-9a3011c2dd844a13d9d08192fe5463941a08ffcd.tar.xz
forums-9a3011c2dd844a13d9d08192fe5463941a08ffcd.zip
[ticket/8309] Changing $last_activity to $last_active
PHPBB3-8309
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index c980daff21..738b0be01c 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -1666,11 +1666,11 @@ function show_profile($data, $user_notes_enabled = false, $warn_user_enabled = f
if ($data['user_allow_viewonline'] || $auth->acl_get('u_viewonline'))
{
- $last_activity = (!empty($data['session_time'])) ? $data['session_time'] : $data['user_lastvisit'];
+ $last_active = (!empty($data['session_time'])) ? $data['session_time'] : $data['user_lastvisit'];
}
else
{
- $last_activity = '';
+ $last_active = '';
}
$age = '';
@@ -1703,7 +1703,7 @@ function show_profile($data, $user_notes_enabled = false, $warn_user_enabled = f
'AGE' => $age,
'RANK_TITLE' => $rank_title,
'JOINED' => $user->format_date($data['user_regdate']),
- 'LAST_ACTIVE' => (empty($last_activity)) ? ' - ' : $user->format_date($last_activity),
+ 'LAST_ACTIVE' => (empty($last_active)) ? ' - ' : $user->format_date($last_active),
'POSTS' => ($data['user_posts']) ? $data['user_posts'] : 0,
'WARNINGS' => isset($data['user_warnings']) ? $data['user_warnings'] : 0,