// Update temporary images on category when updated
This commit is contained in:
1 parent
102957c776
commit
359d3dad90
1 file changed
+2
-2
@@ -507,10 +507,10 @@ class AdminCategoriesControllerCore extends AdminController
|
|||||||
{
|
{
|
||||||
if (!in_array($this->display, array('edit', 'add')))
|
if (!in_array($this->display, array('edit', 'add')))
|
||||||
$this->multishop_context_group = false;
|
$this->multishop_context_group = false;
|
||||||
|
if (Tools::isSubmit('forcedeleteImage') || isset($_FILES['image']))
|
||||||
if (Tools::isSubmit('forcedeleteImage'))
|
|
||||||
{
|
{
|
||||||
$this->processForceDeleteImage();
|
$this->processForceDeleteImage();
|
||||||
|
if (Tools::isSubmit('forcedeleteImage'))
|
||||||
Tools::redirectAdmin(self::$currentIndex.'&token='.Tools::getAdminTokenLite('AdminCategories').'&conf=7');
|
Tools::redirectAdmin(self::$currentIndex.'&token='.Tools::getAdminTokenLite('AdminCategories').'&conf=7');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user