// Stock Available : bug fix

This commit is contained in:
dSevere
2011-11-22 12:57:09 +00:00
parent ce3dec3afc
commit c2840193b3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -392,7 +392,7 @@ class StockAvailableCore extends ObjectModel
* @param int $id_shop Optional : gets context if null @see Context::getContext()
* @return bool : depends on stock @see $depends_on_stock
*/
public function outOfStock($id_product, $id_shop = null)
public static function outOfStock($id_product, $id_shop = null)
{
if (is_null($id_shop))
$id_shop = Context::getContext()->shop->getID(true);