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: BaseConnection::getConnectDuration() number_format(): Passing null to parameter #5536

Merged

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Jan 4, 2022

Description
Fixes #5535
I've confirmed this error when only connecting db but not running any queries.

The bug reporter confirmed this fix: #5535 (comment)

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • [] User guide updated
  • Conforms to style guide

@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Jan 4, 2022
@kenjis kenjis merged commit a8e271a into codeigniter4:develop Jan 5, 2022
@kenjis kenjis deleted the fix-BaseConnection-connectDuration branch January 5, 2022 01:26
@MGatner
Copy link
Member

MGatner commented Jan 5, 2022

@kenjis Do you think this is high priority enough to merit a hotfix release?

@kenjis kenjis added the hotfix label Jan 6, 2022
kenjis added a commit that referenced this pull request Jan 8, 2022
fix: BaseConnection::getConnectDuration() number_format(): Passing null to parameter
@kenjis kenjis mentioned this pull request Jan 8, 2022
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them hotfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: BaseConnection::getConnectDuration() number_format(): Passing null to parameter
3 participants