1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-31 03:29:23 +02:00

[ticket/11959] Rename phpbb_gen_string_list() & fix incorrect var name.

PHPBB3-11959
This commit is contained in:
Cesar G 2014-03-14 19:19:39 -07:00
parent 285ad0f6fa
commit 3da1f6d989
2 changed files with 4 additions and 4 deletions

View File

@ -1508,7 +1508,7 @@ function phpbb_gen_download_links($param_key, $param_val, $phpbb_root_path, $php
*
* @return string String list. Examples: "A"; "A and B"; "A, B and C"
*/
function phpbb_gen_string_list($items, $user)
function phpbb_generate_string_list($items, $user)
{
$count = sizeof($items);
$last_item = '';

View File

@ -211,14 +211,14 @@ class post extends \phpbb\notification\type\base
$usernames[] = $this->user->lang('NOTIFICATION_X_OTHERS', $trimmed_responders_cnt);
}
if (!function_exists('phpbb_gen_string_list'))
if (!function_exists('phpbb_generate_string_list'))
{
include($this->phpbb_root_path . 'includes/functions_display.' . $this->php_ex);
include($this->phpbb_root_path . 'includes/functions_display.' . $this->php_ext);
}
return $this->user->lang(
$this->language_key,
phpbb_gen_string_list($usernames, $this->user),
phpbb_generate_string_list($usernames, $this->user),
censor_text($this->get_data('topic_title')),
$responders_cnt
);