mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/11959] Rename $extra_cnt to something more descriptive.
PHPBB3-11959
This commit is contained in:
parent
43f454a6c6
commit
e3a28e5e2a
1 changed files with 3 additions and 3 deletions
|
@ -185,7 +185,7 @@ class post extends \phpbb\notification\type\base
|
|||
|
||||
$responders_cnt = sizeof($responders);
|
||||
$responders = $this->trim_user_ary($responders);
|
||||
$extra_cnt = $responders_cnt - sizeof($responders);
|
||||
$trimmed_responders_cnt = $responders_cnt - sizeof($responders);
|
||||
|
||||
foreach ($responders as $responder)
|
||||
{
|
||||
|
@ -200,7 +200,7 @@ class post extends \phpbb\notification\type\base
|
|||
}
|
||||
$lang_key = $this->language_key;
|
||||
|
||||
if ($responders_cnt > 4)
|
||||
if ($trimmed_responders_cnt)
|
||||
{
|
||||
$lang_key .= '_TRIMMED';
|
||||
}
|
||||
|
@ -209,7 +209,7 @@ class post extends \phpbb\notification\type\base
|
|||
$lang_key,
|
||||
implode($this->user->lang['COMMA_SEPARATOR'], $usernames),
|
||||
censor_text($this->get_data('topic_title')),
|
||||
$extra_cnt
|
||||
$trimmed_responders_cnt
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue