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 undefined index 'count' (FRAMEWORK_6_0) #32

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

ralflang
Copy link
Member

This is bytestream's #22 applied to FRAMEWORK_6_0 - the original PR was against master. I don't do changes to master, that's for @mrubinsk to decide.

@ralflang ralflang merged commit 4a6f31b into FRAMEWORK_6_0 Mar 28, 2024
0 of 4 checks passed
Copy link

what-the-diff bot commented Mar 28, 2024

PR Summary

  • Added Condition Checking for a Variable in Socket.php
    This update includes the addition of a safeguard in the form of an if statement in a file called Socket.php. The new piece of code makes sure that a specific piece of data ($er['count']) exists before that data is assigned to something else ($ret['count']). This is akin to checking the availability of ingredients before starting cooking. This will help prevent potential problems or 'bugs' that can occur if this data is not available.

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