I have download PRODSECBUG-2233 from magento official site

patch -p1 < PRODSECBUG-2233-2.2.x-2019-07-26-08-35-48.patch

When i try to use this command, it's not working and show me this errors.

can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|Index: app/code/Magento/Sales/Helper/Admin.php
|IDEA additional info:
|Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|--- app/code/Magento/Sales/Helper/Admin.php    (revision d46f8efde7d6e7c40859e833f462c30edc101476)
|+++ app/code/Magento/Sales/Helper/Admin.php    (revision 102b397919b1c82aa13118abb5345ad81c626370)

How can i solve this ? Thanks

Magento 2.2.2 CE CentOS Server



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.