Skip to content

Commit

Permalink
Update bg_prestasms.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspijak committed Apr 18, 2019
1 parent 0eda0bd commit 494697a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bg_prestasms.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,14 @@ public function hookActionProductOutOfStock(array $params)
{
if(Extensions\Helpers::outOfStockCheck($this->ps_settings, (int) $params['product']->id))
{
return $this->runHook('product_out_of_stock', new Extensions\Hook\Variables(array(
$this->runHook('product_out_of_stock', new Extensions\Hook\Variables(array(
'store_id' => (int) $params['product']->id_shop_default,
'product_id' => (int) $params['product']->id,
)));
}
}
}
return true;
return;
}


Expand Down

0 comments on commit 494697a

Please sign in to comment.