mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix invite.php
This commit is contained in:
@@ -626,7 +626,7 @@ function get_elapsed_time($ts,$shortunit = false)
|
||||
$months -= $years * 12;
|
||||
$t = "";
|
||||
if ($years > 0)
|
||||
return $years.($shortunit ? $lang_functions['text_short_year'] : $lang_functions['text_year'] . add_s($year)) ." ".$months.($shortunit ? $lang_functions['text_short_month'] : $lang_functions['text_month'] . add_s($months));
|
||||
return $years.($shortunit ? $lang_functions['text_short_year'] : $lang_functions['text_year'] . add_s($years)) ." ".$months.($shortunit ? $lang_functions['text_short_month'] : $lang_functions['text_month'] . add_s($months));
|
||||
if ($months > 0)
|
||||
return $months.($shortunit ? $lang_functions['text_short_month'] : $lang_functions['text_month'] . add_s($months)) ." ".$days2.($shortunit ? $lang_functions['text_short_day'] : $lang_functions['text_day'] . add_s($days2));
|
||||
if ($days > 0)
|
||||
|
||||
Reference in New Issue
Block a user