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

Update report.php #1588

Merged
merged 1 commit into from
May 28, 2021
Merged

Update report.php #1588

merged 1 commit into from
May 28, 2021

Conversation

fballiano
Copy link
Contributor

@fballiano fballiano commented Apr 30, 2021

This should improve #1581

If checks that parameter $_GET['id'] is passed (it's then casted to int by processor.php) but ONLY if the report.php script is called directly.
This first part of the check is necessary because report.php is included in Mage::printException()

I know that a "die" is maybe not the best option but... in the contest of this specific script, I think it's the only way.

This should fix #1581

If checks that parameter $_GET['id'] is passed (it's then casted to int by processor.php) but ONLY if the report.php script is called directly.
This first part of the check is necessary because report.php is included in Mage::printException()
@github-actions github-actions bot added the errors Relates to error pages label Apr 30, 2021
@Flyingmana Flyingmana merged commit 4d2ce08 into OpenMage:1.9.4.x May 28, 2021
@github-actions
Copy link
Contributor

Unit Test Results

1 files  ±0  1 suites  ±0   0s ⏱️ ±0s
0 tests ±0  0 ✔️ ±0  0 💤 ±0  0 ❌ ±0 
6 runs  ±0  4 ✔️ ±0  2 💤 +2  0 ❌  - 2 

Results for commit 4d2ce08. ± Comparison against base commit cc3eff3.

@fballiano fballiano deleted the patch-5 branch May 28, 2021 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
errors Relates to error pages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants