// Update temporary images on category when updated
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17423 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
7b90890cba
commit
6926e5b326
1 file changed
+3
-3
@@ -507,11 +507,11 @@ 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();
|
||||||
Tools::redirectAdmin(self::$currentIndex.'&token='.Tools::getAdminTokenLite('AdminCategories').'&conf=7');
|
if (Tools::isSubmit('forcedeleteImage'))
|
||||||
|
Tools::redirectAdmin(self::$currentIndex.'&token='.Tools::getAdminTokenLite('AdminCategories').'&conf=7');
|
||||||
}
|
}
|
||||||
|
|
||||||
return parent::postProcess();
|
return parent::postProcess();
|
||||||
|
|||||||
Reference in new issue
Block a user