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
2ed446d0
You need to sign in or sign up before continuing.
Commit
2ed446d0
authored
8 years ago
by
Juanjo Menent
Browse files
Options
Downloads
Patches
Plain Diff
FIX Option strict mode compatibility
parent
10e7fa51
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/product/list.php
+2
-2
2 additions, 2 deletions
htdocs/product/list.php
with
2 additions
and
2 deletions
htdocs/product/list.php
+
2
−
2
View file @
2ed446d0
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Copyright (C) 2004-2016 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-2016 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2012-2013 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2012-2013 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2013
Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2013
-2016
Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2013-2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
* Copyright (C) 2013-2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
* Copyright (C) 2013 Jean Heimburger <jean@tiaris.info>
* Copyright (C) 2013 Jean Heimburger <jean@tiaris.info>
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
...
@@ -272,7 +272,7 @@ else
...
@@ -272,7 +272,7 @@ else
$sql
.
=
$hookmanager
->
resPrint
;
$sql
.
=
$hookmanager
->
resPrint
;
$sql
.
=
" GROUP BY p.rowid, p.ref, p.label, p.barcode, p.price, p.price_ttc, p.price_base_type,"
;
$sql
.
=
" GROUP BY p.rowid, p.ref, p.label, p.barcode, p.price, p.price_ttc, p.price_base_type,"
;
$sql
.
=
" p.fk_product_type, p.duration, p.tosell, p.tobuy, p.seuil_stock_alerte, p.desiredstock,"
;
$sql
.
=
" p.fk_product_type, p.duration, p.tosell, p.tobuy, p.seuil_stock_alerte, p.desiredstock,"
;
$sql
.
=
' p.datec, p.tms'
;
$sql
.
=
' p.datec, p.tms
, p.entity, p.tobatch, p.accountancy_code_sell, p.accountancy_code_buy
'
;
// Add fields from extrafields
// Add fields from extrafields
foreach
(
$extrafields
->
attribute_label
as
$key
=>
$val
)
$sql
.
=
(
$extrafields
->
attribute_type
[
$key
]
!=
'separate'
?
",ef."
.
$key
:
''
);
foreach
(
$extrafields
->
attribute_label
as
$key
=>
$val
)
$sql
.
=
(
$extrafields
->
attribute_type
[
$key
]
!=
'separate'
?
",ef."
.
$key
:
''
);
// Add fields from hooks
// Add fields from hooks
...
...
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