Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #12126 Fix incorrect money format being used (kayue)
This PR was merged into the 1.8 branch. Discussion ---------- Only format accept currency as argument. Fix #11941. | Q | A | --------------- | ----- | Branch? | 1.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | fixes #11941 | License | MIT A "Cart" menu/collector is added in Sylius 1.8, but this feature requires Channel to exist in the debugger/profiler's route, otherwise user will get the following error: > An exception has been thrown during the rendering of a template ("Channel could not be found! Tip: You can use the Web Debug Toolbar to switch between channels in development."). The error is triggered by `convertAndFormat()` in the Twig file. Change it to `format()` fix the problem. I think it was meant to use `format` since method signature was incorrect also. Commits ------- 33f91d8 Fix incorrect money format being used
- Loading branch information