aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-11-21 13:18:28 -0800
committerCesar G <prototech91@gmail.com>2013-11-21 13:18:28 -0800
commite3a28e5e2a451794b322be90e1aef9ad4aee256b (patch)
tree6f21641596bdd9ffe4732f2ef67ef6a3c6a2659c
parent43f454a6c6347827a01a1e31478a846ad05bc7f4 (diff)
downloadforums-e3a28e5e2a451794b322be90e1aef9ad4aee256b.tar
forums-e3a28e5e2a451794b322be90e1aef9ad4aee256b.tar.gz
forums-e3a28e5e2a451794b322be90e1aef9ad4aee256b.tar.bz2
forums-e3a28e5e2a451794b322be90e1aef9ad4aee256b.tar.xz
forums-e3a28e5e2a451794b322be90e1aef9ad4aee256b.zip
[ticket/11959] Rename $extra_cnt to something more descriptive.
PHPBB3-11959
-rw-r--r--phpBB/phpbb/notification/type/post.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php
index e9f9d48978..87bd4331b6 100644
--- a/phpBB/phpbb/notification/type/post.php
+++ b/phpBB/phpbb/notification/type/post.php
@@ -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
);
}