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

[stable28] fix(share): Return empty string if no label is set #48739

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Oct 16, 2024

Backport of #48673

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Oct 16, 2024
@backportbot backportbot bot added this to the Nextcloud 28.0.12 milestone Oct 16, 2024
@susnux susnux marked this pull request as ready for review October 16, 2024 18:43
@susnux susnux enabled auto-merge October 16, 2024 18:43
@susnux susnux force-pushed the backport/48673/stable28 branch 2 times, most recently from 2bd160c to bfde2a0 Compare October 17, 2024 16:27
* Resolves: #48629

While the database supports NULL, the typing has always said it only returns *string*.
So to not break any apps that might trust the typings we should return `''` if the database is set to `NULL`.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux merged commit 86ed7aa into stable28 Oct 17, 2024
56 checks passed
@susnux susnux deleted the backport/48673/stable28 branch October 17, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants