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

[Backport 2.2] Wishlist: Remove unnecessary parameter from invoking toHtml() method #16023

Merged

Conversation

rogyar
Copy link
Contributor

@rogyar rogyar commented Jun 11, 2018

Original PR: #16022

Description

There's an extra parameter upon invoking the toHtml() method in the Wishlist/view/frontend/templates/item/list.phtml file. The original method call is the following:

 $column->toHtml($item);

which is not correct since toHtml() method of the Magento\Wishlist\Block\Customer\Wishlist\Item\Column has no additional parameters. The current PR removes the redundant parameter from invoking the method.

Fixed Issues (if relevant)

N/A

Manual testing scenarios

N/A

@magento-engcom-team magento-engcom-team added Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Area: Frontend Component: Wishlist labels Jun 11, 2018
@rogyar rogyar changed the title Backport: Remove unnecessary parameter from invoking toHtml() method Backport 2.2: Remove unnecessary parameter from invoking toHtml() method Jun 11, 2018
@rogyar rogyar changed the title Backport 2.2: Remove unnecessary parameter from invoking toHtml() method [Backport 2.2] Wishlist: Remove unnecessary parameter from invoking toHtml() method Jun 11, 2018
@magento-engcom-team magento-engcom-team added this to the Release: 2.2.6 milestone Jun 12, 2018
@magento-engcom-team
Copy link
Contributor

Hi @orlangur, thank you for the review.
ENGCOM-1949 has been created to process this Pull Request

@magento-engcom-team magento-engcom-team merged commit ade101d into magento:2.2-develop Jun 13, 2018
magento-engcom-team pushed a commit that referenced this pull request Jun 13, 2018
@magento-engcom-team
Copy link
Contributor

Hi @rogyar. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.2.6 release.

Please, consider to port this solution to 2.3 release line.
You may use Porting tool to port commits automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Frontend Component: Wishlist Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Progress: accept Release Line: 2.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants