2
0
forked from Wavyzz/dolibarr

Merge pull request #27708 from frederic34/patch-3

fix default value
This commit is contained in:
Laurent Destailleur
2024-01-21 23:30:32 +01:00
committed by GitHub

View File

@@ -2475,7 +2475,7 @@ class Product extends CommonObject
* @param int $ignore_lang_load Load product without loading $this->multilangs language arrays (when we are sure we don't need them) * @param int $ignore_lang_load Load product without loading $this->multilangs language arrays (when we are sure we don't need them)
* @return int Return integer <0 if KO, 0 if not found, >0 if OK * @return int Return integer <0 if KO, 0 if not found, >0 if OK
*/ */
public function fetch($id = '', $ref = '', $ref_ext = '', $barcode = '', $ignore_expression = 0, $ignore_price_load = 0, $ignore_lang_load = 0) public function fetch($id = 0, $ref = '', $ref_ext = '', $barcode = '', $ignore_expression = 0, $ignore_price_load = 0, $ignore_lang_load = 0)
{ {
include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';