Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
5144f21c
Commit
5144f21c
authored
8 years ago
by
florian HENRY
Browse files
Options
Downloads
Patches
Plain Diff
FIX php Strict
parent
621a7d93
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/core/modules/barcode/mod_barcode_product_standard.php
+2
-2
2 additions, 2 deletions
htdocs/core/modules/barcode/mod_barcode_product_standard.php
htdocs/core/modules/barcode/modules_barcode.class.php
+2
-2
2 additions, 2 deletions
htdocs/core/modules/barcode/modules_barcode.class.php
with
4 additions
and
4 deletions
htdocs/core/modules/barcode/mod_barcode_product_standard.php
+
2
−
2
View file @
5144f21c
...
...
@@ -278,7 +278,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
}
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
...
...
@@ -290,7 +290,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
dol_syslog
(
get_class
(
$this
)
.
'::verif_syntax newcodefortest='
.
$newcodefortest
);
}
}
$result
=
check_value
(
$mask
,
$newcodefortest
);
return
$result
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/modules/barcode/modules_barcode.class.php
+
2
−
2
View file @
5144f21c
...
...
@@ -87,11 +87,11 @@ abstract class ModeleNumRefBarCode
/**
* Return next value available
*
* @param Societe $obj
soc
Object
thirdparty
* @param Societe $obj
product
Object
Product
* @param int $type Type
* @return string Value
*/
function
getNextValue
(
$obj
soc
=
0
,
$type
=
-
1
)
function
getNextValue
(
$obj
product
,
$type
=
''
)
{
global
$langs
;
return
$langs
->
trans
(
"Function_getNextValue_InModuleNotWorking"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment