Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable24] fix(trashbin): Truncate long filenames #38592

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #38355

Signed-off-by: Christopher Ng <chrng8@gmail.com>
$trashFilename = substr_replace(
$trashFilename,
'',
$maxLength / 2,

Check failure

Code scanning / Psalm

InvalidScalarArgument

Argument 3 of substr_replace expects array<array-key, int>|int, float|int provided
@blizzz blizzz merged commit 117a33d into stable24 Jun 5, 2023
@blizzz blizzz deleted the backport/38355/stable24 branch June 5, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants