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 zend session hides actual error when there are two or more errors… #15095

Merged
merged 2 commits into from Nov 4, 2019

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Nov 3, 2019

…/notices/warnings

Need to append each warning.

…/notices/warnings

Need to append each warning.
@tsteur tsteur added the Needs Review PRs that need a code review label Nov 3, 2019
@tsteur tsteur added this to the 3.13.0 milestone Nov 3, 2019
if (!isset(self::$sessionStartError)) {
self::$sessionStartError = '';
}
self::$sessionStartError .= $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr;
Copy link
Member

Choose a reason for hiding this comment

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

Might be good to separate the errors by newlines/spaces for readability? Otherwise LGTM.

@tsteur tsteur merged commit 9bc4928 into 3.x-dev Nov 4, 2019
@tsteur tsteur deleted the warningsessionfix branch November 4, 2019 00:33
diosmosis pushed a commit that referenced this pull request Nov 6, 2019
#15095)

* Fix zend session hides actual error when there are two or more errors/notices/warnings

Need to append each warning.

* Adding a space to separate errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants