// Normalize

This commit is contained in:
bMancone
2012-03-05 14:27:13 +00:00
parent 0e37f67b21
commit 7cbf2dc4fa
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ class StockMvtCore extends ObjectModel
/**
* @deprecated since 1.5.0
*
* This method no longer exists, and have no equivalent because of the missing movements have to be handle by inventories on real stock.
* This method no longer exists, and have no equivalent because the missing movements have to be handled by inventories.
*/
public static function addMissingMvt($id_employee)
{
+1
View File
@@ -136,6 +136,7 @@ class StockMvtReasonCore extends ObjectModel
$query->from('stock_mvt_reason', 'smr');
$query->where('smr.id_stock_mvt_reason = '.(int)$id_stock_mvt_reason);
$query->where('smr.deleted = 0');
return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query);
}
}