mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
3d409d4932
1 changed files with 2 additions and 1 deletions
|
@ -699,10 +699,11 @@ function posting_gen_attachment_entry($attachment_data, &$filename_data, $show_a
|
||||||
// We display the posted attachments within the desired order.
|
// We display the posted attachments within the desired order.
|
||||||
($config['display_order']) ? krsort($attachment_data) : ksort($attachment_data);
|
($config['display_order']) ? krsort($attachment_data) : ksort($attachment_data);
|
||||||
|
|
||||||
|
$attachrow_template_vars = [];
|
||||||
|
|
||||||
foreach ($attachment_data as $count => $attach_row)
|
foreach ($attachment_data as $count => $attach_row)
|
||||||
{
|
{
|
||||||
$hidden = '';
|
$hidden = '';
|
||||||
$attachrow_template_vars = array();
|
|
||||||
$attach_row['real_filename'] = utf8_basename($attach_row['real_filename']);
|
$attach_row['real_filename'] = utf8_basename($attach_row['real_filename']);
|
||||||
|
|
||||||
foreach ($attach_row as $key => $value)
|
foreach ($attach_row as $key => $value)
|
||||||
|
|
Loading…
Add table
Reference in a new issue