[ticket/15687] Fix incorrect variable names thanks to copy & paste

PHPBB3-15687
This commit is contained in:
Marc Alexander 2023-06-27 22:16:30 +02:00
parent df6ab1a811
commit b02ad26015
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 2 additions and 2 deletions

View file

@ -873,7 +873,7 @@ function posting_gen_attachment_entry($attachment_data, &$filename_data, $show_a
'phpbb_storage_attachment',
[
'file' => (int) $attach_row['attach_id'],
'filename' => $attachment['real_filename'],
'filename' => $attach_row['real_filename'],
]
);

View file

@ -1720,7 +1720,7 @@ class parse_message extends bbcode_firstpass
'phpbb_storage_attachment',
[
'file' => (int) $new_entry['attach_id'],
'filename' => $attachment['real_filename'],
'filename' => $new_entry['real_filename'],
]
);