[-] BO : fix #PSFV-866 : Add the missing hook for update a product
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14654 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1593,6 +1593,8 @@ class AdminProductsControllerCore extends AdminController
|
||||
|
||||
if (empty($this->errors))
|
||||
{
|
||||
Hook::exec('actionProductUpdate', array('product' => $object));
|
||||
|
||||
if (in_array($object->visibility, array('both', 'search')))
|
||||
Search::indexation(false, $object->id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user