Skip to content

Commit e52c764

Browse files
author
roman
committed
MAGETWO-72048: Wrong file upload behavior
1 parent 648d7d8 commit e52c764

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Category/Image

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Category/Image/Upload.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
*/
66
namespace Magento\Catalog\Controller\Adminhtml\Category\Image;
77

8+
use Magento\Framework\App\Action\HttpPostActionInterface;
89
use Magento\Framework\Controller\ResultFactory;
910

1011
/**
1112
* Class Upload
1213
*/
13-
class Upload extends \Magento\Backend\App\Action
14+
class Upload extends \Magento\Backend\App\Action implements HttpPostActionInterface
1415
{
1516
/**
1617
* Image uploader

0 commit comments

Comments
 (0)