diff options
Diffstat (limited to 'app/Stats.php')
| -rw-r--r-- | app/Stats.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Stats.php b/app/Stats.php index fa54ec95c5..9a2908dbc4 100644 --- a/app/Stats.php +++ b/app/Stats.php @@ -6091,7 +6091,7 @@ class Stats { $datestamp = str_replace('%', '', I18N::timeFormat()); } - return date($datestamp, $user->getPreference('reg_timestamp')); + return date($datestamp, (int) $user->getPreference('reg_timestamp')); case 'loggedin': if (is_array($params) && isset($params[0]) && $params[0] != '') { $yes = $params[0]; |
