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
e4dda125
Commit
e4dda125
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3
parents
526a80dd
cb3b0996
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
dev/skeletons/modMyModule.class.php
+1
-1
1 addition, 1 deletion
dev/skeletons/modMyModule.class.php
htdocs/adherents/fiche.php
+3
-2
3 additions, 2 deletions
htdocs/adherents/fiche.php
with
4 additions
and
3 deletions
dev/skeletons/modMyModule.class.php
+
1
−
1
View file @
e4dda125
...
...
@@ -178,7 +178,7 @@ class modMyModule extends DolibarrModules
// Main menu entries
$this
->
menu
s
=
array
();
// List of menus to add
$this
->
menu
=
array
();
// List of menus to add
$r
=
0
;
// Add here entries to declare new menus
...
...
This diff is collapsed.
Click to expand it.
htdocs/adherents/fiche.php
+
3
−
2
View file @
e4dda125
...
...
@@ -958,10 +958,11 @@ else
$adht
=
new
AdherentType
(
$db
);
$adht
->
fetch
(
$object
->
typeid
);
$country
=
GETPOST
(
'pays'
,
'int'
);
// We set country_id, and country_code, country of the chosen country
if
(
isset
(
$_POST
[
"pays"
]
)
||
$object
->
country_id
)
if
(
!
empty
(
$country
)
||
$object
->
country_id
)
{
$sql
=
"SELECT rowid, code, libelle as label from "
.
MAIN_DB_PREFIX
.
"c_pays where rowid = "
.
(
isset
(
$_POST
[
"pays"
])
?
$_POST
[
"pays"
]
:
$object
->
country_id
);
$sql
=
"SELECT rowid, code, libelle as label from "
.
MAIN_DB_PREFIX
.
"c_pays where rowid = "
.
(
!
empty
(
$country
)
?
$country
:
$object
->
country_id
);
$resql
=
$db
->
query
(
$sql
);
if
(
$resql
)
{
...
...
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