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

fix query widget, the query collector maybe is empty #1489

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Oct 25, 2023

php-debugbar/php-debugbar#349 fix
Closes #559

if the query collector is empty, the script will throw js error

Uncaught TypeError: Cannot read property 'length' of undefined
On 1906: for (var sql = {}, duplicate = 0, i = 0; i < data.statements.length; i++) {

@barryvdh barryvdh merged commit 44ff037 into barryvdh:master Feb 9, 2024
13 checks passed
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.

JS error in the widget for the displaying sql queries
2 participants