Skip to content

Fixed compress activity log showing {{file}} instead of the archive filename#5637

Open
REGEX777 wants to merge 1 commit into
pterodactyl:1.0-developfrom
REGEX777:activity_logs_zipname_fix
Open

Fixed compress activity log showing {{file}} instead of the archive filename#5637
REGEX777 wants to merge 1 commit into
pterodactyl:1.0-developfrom
REGEX777:activity_logs_zipname_fix

Conversation

@REGEX777
Copy link
Copy Markdown

Fix for #5630

The compress_one string in resources/lang/en/activity.php referenced :file as the placeholder, but the backend passes the filename under a files array. This caused the activity log to render {file}} instead of the actual filename

Changed :file to :files.0 to correctly resolve the first filename from the array.

Solution was identified by the issue reporter (@marioenache).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant