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

Fixes #7028 PHP Notice: Undefined property: stdClass::$table_name when enable database options on apache server #7031

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

Khadreal
Copy link
Contributor

Description

Added an alias to the query to resolve the undefined error.

Fixes #7028

Type of change

  • Bug fix (non-breaking change which fixes an issue).

Detailed scenario

Check #7028 for detailed scenario

Technical description

Added alias to mysql column

Documentation

Mandatory Checklist

Code validation

  • I validated all the Acceptance Criteria. If possible, provide screenshots or videos.
  • I triggered all changed lines of code at least once without new errors/warnings/notices.

Code style

  • I wrote a self-explanatory code about what it does.
  • I protected entry points against unexpected inputs.
  • I did not introduce unnecessary complexity.
  • Output messages (errors, notices, logs) are explicit enough for users to understand the issue and are actionnable.

Copy link

codacy-production bot commented Oct 11, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -0.10%) 0.00% (target: 50.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (e780e82) 37744 16585 43.94%
Head commit (da0ed7b) 37744 (+0) 16585 (+0) 43.94% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#7031) 1 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@remyperona remyperona added type: bug Indicates an unexpected problem or unintended behavior module: database labels Oct 11, 2024
@Mai-Saad Mai-Saad added this pull request to the merge queue Oct 17, 2024
Merged via the queue into develop with commit 3c774bb Oct 17, 2024
15 of 16 checks passed
@Mai-Saad Mai-Saad deleted the fix/7028-undefined-property-database branch October 17, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: database type: bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP Notice: Undefined property: stdClass::$table_name when enable database options on apache server
3 participants