mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 13:32:16 +09:00
Fix #972 missing sprintf() for excess_ip_access_count
This commit is contained in:
parent
b6dd614dc7
commit
a8f2bc9bd4
1 changed files with 1 additions and 1 deletions
|
|
@ -2141,7 +2141,7 @@ class memberController extends member
|
||||||
elseif(3600 <= $term && $term < 86400) $term = intval($term/3600).lang('unit_hour');
|
elseif(3600 <= $term && $term < 86400) $term = intval($term/3600).lang('unit_hour');
|
||||||
else $term = intval($term/86400).lang('unit_day');
|
else $term = intval($term/86400).lang('unit_day');
|
||||||
|
|
||||||
return new BaseObject(-1, 'excess_ip_access_count', $term);
|
return new BaseObject(-1, sprintf(lang('excess_ip_access_count'), $term));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue