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

Wrong param of $len transport to the getShorContent() method of AbstractPost class when use the default phtml of postlist #400

Closed
clion007 opened this issue Sep 9, 2021 · 0 comments

Comments

@clion007
Copy link

clion007 commented Sep 9, 2021

Describe the bug
A clear and concise description of what the bug is.
Wrong param of $len transport to the getShorContent() method of AbstractPost class when use the default phtml of postlist, instanse of post was transported to getShorContent() method as the param $len, but it should be a sting param.
Preconditions:

  • Magento Version: [e.g. 2.2.0]
  • Module Version: [e.g. v2.10.2.2]
  • PHP Version [e.g. 7.1.29]

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
a string param of $len should be transported.
Actual behavior
A clear and concise description of what actually happened.
instanse of post was transported to getShorContent() method as the param $len
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@clion007 clion007 closed this as completed Sep 9, 2021
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

No branches or pull requests

1 participant