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 PHP notice in ResetController #248

Conversation

richard67
Copy link

Pull Request for Issue # .

Summary of Changes

Fixes following PHP notice:

PHP Notice: Undefined variable: revertErrored in /joomla-cms-4.0-dev/administrator/components/com_patchtester/PatchTester/Controller/ResetController.php on line 84

Testing Instructions

Code review: The mistake is obvious. Variable $revertErrored is checked even if not set before. Moved initialization of this variable out from the 2 if clauses up to the top.

@richard67 richard67 mentioned this pull request Nov 9, 2019
@Hackwar Hackwar merged commit 872b4fa into joomla-extensions:4.0-dev Nov 9, 2019
@richard67
Copy link
Author

Thanks!

@richard67 richard67 deleted the 4.0-dev-fix-php-notices-controller branch November 9, 2019 12:13
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