Skip to content

Commit

Permalink
FIX php Strict
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-florian committed Aug 2, 2016
1 parent 621a7d9 commit 5144f21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/modules/barcode/mod_barcode_product_standard.php
Expand Up @@ -278,7 +278,7 @@ function verif_syntax($codefortest, $typefortest)
}

dol_syslog(get_class($this).'::verif_syntax codefortest='.$codefortest." typefortest=".$typefortest);

$newcodefortest=$codefortest;

// Special case, if mask is on 12 digits instead of 13, we remove last char into code to test
Expand All @@ -290,7 +290,7 @@ function verif_syntax($codefortest, $typefortest)
dol_syslog(get_class($this).'::verif_syntax newcodefortest='.$newcodefortest);
}
}

$result=check_value($mask,$newcodefortest);

return $result;
Expand Down
4 changes: 2 additions & 2 deletions htdocs/core/modules/barcode/modules_barcode.class.php
Expand Up @@ -87,11 +87,11 @@ function getExample($langs)
/**
* Return next value available
*
* @param Societe $objsoc Object thirdparty
* @param Societe $objproduct Object Product
* @param int $type Type
* @return string Value
*/
function getNextValue($objsoc=0,$type=-1)
function getNextValue($objproduct,$type='')
{
global $langs;
return $langs->trans("Function_getNextValue_InModuleNotWorking");
Expand Down

0 comments on commit 5144f21

Please sign in to comment.