Skip to content

Conversation

@MauricioFauth
Copy link
Member

No description provided.

{
$output = '';
if (isset($_GET['label'])) {
if ($label !== null && $label !== '') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the extra check for empty string?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The UI also doesn't accept empty values. So it makes sense to check for empty here.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
@MauricioFauth MauricioFauth merged commit 547e4d8 into phpmyadmin:master Jan 15, 2026
41 of 42 checks passed
@MauricioFauth MauricioFauth deleted the sql-request branch January 15, 2026 18:55
@MauricioFauth MauricioFauth self-assigned this Jan 15, 2026
@MauricioFauth MauricioFauth added this to the 6.0.0 milestone Jan 15, 2026
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.

2 participants