1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

Fixes #4080 - user profile date issue.

This commit is contained in:
Cameron
2020-05-02 11:39:03 -07:00
parent 76442d7272
commit 43d8221340
3 changed files with 3 additions and 5 deletions

View File

@@ -185,7 +185,7 @@ class user_shortcodes extends e_shortcode
function sc_user_lastvisit_lapse($parm='')
{
return $this->var['user_currentvisit'] ? "( ".e107::getDate()->computeLapse($this->var['user_currentvisit'])." ".LAN_USER_34." )" : '';
return $this->var['user_currentvisit'] ? e107::getDate()->computeLapse($this->var['user_currentvisit']) : '';
}