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
commit f9d79cf73f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)
* @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';