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
a7b2f000
Commit
a7b2f000
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
parents
52cd5d50
2cbcbb8f
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/class/commonobject.class.php
+1
-1
1 addition, 1 deletion
htdocs/core/class/commonobject.class.php
htdocs/resource/class/resource.class.php
+3
-2
3 additions, 2 deletions
htdocs/resource/class/resource.class.php
with
4 additions
and
3 deletions
htdocs/core/class/commonobject.class.php
+
1
−
1
View file @
a7b2f000
...
...
@@ -2054,7 +2054,7 @@ abstract class CommonObject
$forcedroundingmode
=
$roundingadjust
;
if
(
$forcedroundingmode
==
'auto'
&&
isset
(
$conf
->
global
->
MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND
))
$forcedroundingmode
=
$conf
->
global
->
MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND
;
if
(
$forcedroundingmode
==
'auto'
)
$forcedroundingmode
=
'0'
;
else
if
(
$forcedroundingmode
==
'auto'
)
$forcedroundingmode
=
'0'
;
$error
=
0
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/resource/class/resource.class.php
+
3
−
2
View file @
a7b2f000
...
...
@@ -624,10 +624,11 @@ class Resource extends CommonObject
* Load properties id_previous and id_next
*
* @param string $filter Optional filter
* @param int $fieldid Name of field to use for the select MAX and MIN
* @param int $fieldid Name of field to use for the select MAX and MIN
* @param int $nodbprefix Do not include DB prefix to forge table name
* @return int <0 if KO, >0 if OK
*/
function
load_previous_next_ref
(
$filter
,
$fieldid
)
function
load_previous_next_ref
(
$filter
,
$fieldid
,
$nodbprefix
=
0
)
{
global
$conf
,
$user
;
...
...
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