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
2d0f3535
Commit
2d0f3535
authored
10 years ago
by
Juanjo Menent
Browse files
Options
Downloads
Plain Diff
Merge pull request #1859 from FHenry/3.6
Fix SQL syntax
parents
772acd6b
e2fac5dd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
htdocs/admin/limits.php
+2
-2
2 additions, 2 deletions
htdocs/admin/limits.php
htdocs/categories/class/categorie.class.php
+1
-1
1 addition, 1 deletion
htdocs/categories/class/categorie.class.php
with
4 additions
and
3 deletions
ChangeLog
+
1
−
0
View file @
2d0f3535
...
...
@@ -10,6 +10,7 @@ For users:
- Fix: error "menu param is not inside list" into pos module.
- Fix: Salary payments are not reflected on the reporting sheets
- Fix: Unsubscribe emailing not working
- Fix: Trigger on create category call failed because user is not passed on card
***** ChangeLog for 3.6 compared to 3.5.* *****
For users:
...
...
This diff is collapsed.
Click to expand it.
htdocs/admin/limits.php
+
2
−
2
View file @
2d0f3535
...
...
@@ -206,9 +206,9 @@ else
// Add vat rates examples specific to country
$vat_rates
=
array
();
$sql
.
=
"SELECT taux as vat_rate"
;
$sql
=
"SELECT taux as vat_rate"
;
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"c_tva as t, "
.
MAIN_DB_PREFIX
.
"c_pays as p"
;
$sql
.
=
" WHERE t.active=1 AND t.fk_pays = p.rowid AND p.code='"
.
$mysoc
->
country_code
.
"' AND taux
!=
0"
;
$sql
.
=
" WHERE t.active=1 AND t.fk_pays = p.rowid AND p.code='"
.
$mysoc
->
country_code
.
"' AND taux
<>
0"
;
$sql
.
=
" ORDER BY t.taux ASC"
;
$resql
=
$db
->
query
(
$sql
);
if
(
$resql
)
...
...
This diff is collapsed.
Click to expand it.
htdocs/categories/class/categorie.class.php
+
1
−
1
View file @
2d0f3535
...
...
@@ -137,7 +137,7 @@ class Categorie extends CommonObject
* -3 : categorie invalide
* -4 : category already exists
*/
function
create
(
$user
=
''
)
function
create
(
$user
)
{
global
$conf
,
$langs
,
$hookmanager
;
$langs
->
load
(
'categories'
);
...
...
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