[-] BO : #PSTEST-586 - Bad table name
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12709 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -1002,7 +1002,7 @@ class ProductCore extends ObjectModel
|
|||||||
* @see StockAvailable if you want to manage available quantities for sale on your shop(s)
|
* @see StockAvailable if you want to manage available quantities for sale on your shop(s)
|
||||||
* @see ProductSupplier for manage supplier reference(s)
|
* @see ProductSupplier for manage supplier reference(s)
|
||||||
*
|
*
|
||||||
* @deprecated
|
* @deprecated since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function addProductAttribute($price, $weight, $unit_impact, $ecotax, $quantity, $id_images, $reference,
|
public function addProductAttribute($price, $weight, $unit_impact, $ecotax, $quantity, $id_images, $reference,
|
||||||
$supplier_reference = null, $ean13, $default, $location = null, $upc = null, $minimal_quantity = 1)
|
$supplier_reference = null, $ean13, $default, $location = null, $upc = null, $minimal_quantity = 1)
|
||||||
@@ -4649,7 +4649,7 @@ class ProductCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
$query = new DbQuery;
|
$query = new DbQuery;
|
||||||
$query->select('p.advanced_stock_management');
|
$query->select('p.advanced_stock_management');
|
||||||
$query->from('products', 'p');
|
$query->from('product', 'p');
|
||||||
$query->where('p.id_product = '.(int)$id_product);
|
$query->where('p.id_product = '.(int)$id_product);
|
||||||
|
|
||||||
return (bool)Db::getInstance()->getValue($query);
|
return (bool)Db::getInstance()->getValue($query);
|
||||||
|
|||||||
Reference in New Issue
Block a user