// adding categories with shop association

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11455 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-12-21 09:46:38 +00:00
parent ffa3e5bd09
commit 23aa8049c6
3 changed files with 34 additions and 1 deletions
+1
View File
@@ -606,6 +606,7 @@ class AdminControllerCore extends Controller
$parent_id = (int)Tools::getValue('id_parent', 1);
$this->afterAdd($object);
$this->updateAssoShop($object->id);
// d($object);
// Save and stay on same form
if (Tools::isSubmit('submitAdd'.$this->table.'AndStay'))
$this->redirect_after = self::$currentIndex.'&'.$this->identifier.'='.$object->id.'&conf=3&update'.$this->table.'&token='.$token;