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
6cfe58f0
Commit
6cfe58f0
authored
12 years ago
by
Philippe Grand
Browse files
Options
Downloads
Patches
Plain Diff
fix some english translation
parent
0cc8ee9b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/lib/ws.lib.php
+2
-2
2 additions, 2 deletions
htdocs/core/lib/ws.lib.php
with
2 additions
and
2 deletions
htdocs/core/lib/ws.lib.php
+
2
−
2
View file @
6cfe58f0
...
...
@@ -48,7 +48,7 @@ function check_authentication($authentication,&$error,&$errorcode,&$errorlabel)
if
(
!
$error
&&
!
empty
(
$authentication
[
'entity'
])
&&
!
is_numeric
(
$authentication
[
'entity'
]))
{
$error
++
;
$errorcode
=
'BAD_PARAMETERS'
;
$errorlabel
=
"
Parameter entity
must be empty (or filled with numeric id of instance if multicompany module is used)."
;
$errorcode
=
'BAD_PARAMETERS'
;
$errorlabel
=
"
The entity parameter
must be empty (or filled with numeric id of instance if multicompany module is used)."
;
}
if
(
!
$error
)
...
...
@@ -57,7 +57,7 @@ function check_authentication($authentication,&$error,&$errorcode,&$errorlabel)
if
(
$result
<
0
)
{
$error
++
;
$errorcode
=
'ERROR_FETCH_USER'
;
$errorlabel
=
'A technical error occur
s
during fetch of user'
;
$errorcode
=
'ERROR_FETCH_USER'
;
$errorlabel
=
'A technical error occur
red
during fetch of user'
;
}
else
if
(
$result
==
0
)
{
...
...
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