FIX php Strict
This commit is contained in:
parent
621a7d93fa
commit
5144f21c6c
@ -278,7 +278,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
|
|||||||
}
|
}
|
||||||
|
|
||||||
dol_syslog(get_class($this).'::verif_syntax codefortest='.$codefortest." typefortest=".$typefortest);
|
dol_syslog(get_class($this).'::verif_syntax codefortest='.$codefortest." typefortest=".$typefortest);
|
||||||
|
|
||||||
$newcodefortest=$codefortest;
|
$newcodefortest=$codefortest;
|
||||||
|
|
||||||
// Special case, if mask is on 12 digits instead of 13, we remove last char into code to test
|
// Special case, if mask is on 12 digits instead of 13, we remove last char into code to test
|
||||||
@ -290,7 +290,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
|
|||||||
dol_syslog(get_class($this).'::verif_syntax newcodefortest='.$newcodefortest);
|
dol_syslog(get_class($this).'::verif_syntax newcodefortest='.$newcodefortest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$result=check_value($mask,$newcodefortest);
|
$result=check_value($mask,$newcodefortest);
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
@ -87,11 +87,11 @@ abstract class ModeleNumRefBarCode
|
|||||||
/**
|
/**
|
||||||
* Return next value available
|
* Return next value available
|
||||||
*
|
*
|
||||||
* @param Societe $objsoc Object thirdparty
|
* @param Societe $objproduct Object Product
|
||||||
* @param int $type Type
|
* @param int $type Type
|
||||||
* @return string Value
|
* @return string Value
|
||||||
*/
|
*/
|
||||||
function getNextValue($objsoc=0,$type=-1)
|
function getNextValue($objproduct,$type='')
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
return $langs->trans("Function_getNextValue_InModuleNotWorking");
|
return $langs->trans("Function_getNextValue_InModuleNotWorking");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user