[-] 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:
lLefevre
2012-04-16 12:57:38 +00:00
parent 7a48decd82
commit 4e61be6b9e
@@ -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);