// Fix #PSCFV-4518
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17620 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -4827,7 +4827,7 @@ class ProductCore extends ObjectModel
|
|||||||
|
|
||||||
public function addWs($autodate = true, $null_values = false)
|
public function addWs($autodate = true, $null_values = false)
|
||||||
{
|
{
|
||||||
$success = parent::add($autodate, $null_values);
|
$success = $this->add($autodate, $null_values);
|
||||||
if ($success && Configuration::get('PS_SEARCH_INDEXATION'))
|
if ($success && Configuration::get('PS_SEARCH_INDEXATION'))
|
||||||
Search::indexation(false, $this->id);
|
Search::indexation(false, $this->id);
|
||||||
return $success;
|
return $success;
|
||||||
|
|||||||
Reference in New Issue
Block a user