mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Merge pull request #2243 from n-aleha/ticket/12345
[ticket/12345] Improve search flood interval message for ascraeus * n-aleha/ticket/12345: [ticket/12345] Improve search flood interval message for ascraeus
This commit is contained in:
@@ -108,7 +108,7 @@ if ($interval && !in_array($search_id, array('unreadposts', 'unanswered', 'activ
|
||||
if ($user->data['user_last_search'] > time() - $interval)
|
||||
{
|
||||
$template->assign_var('S_NO_SEARCH', true);
|
||||
trigger_error('NO_SEARCH_TIME');
|
||||
trigger_error($user->lang('NO_SEARCH_TIME', (int) ($user->data['user_last_search'] + $interval - time())));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user