Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CiviCRM
Connecteur API Education Nationale France
Commits
c57b12d3
Commit
c57b12d3
authored
3 years ago
by
Bastien Ho
Browse files
Options
Download
Email Patches
Plain Diff
Real limit is 128 char.
parent
b9865d81
No related merge requests found
Pipeline
#21952
passed with stages
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/v3/EducationNationale.php
+2
-2
api/v3/EducationNationale.php
with
2 additions
and
2 deletions
+2
-2
api/v3/EducationNationale.php
+
2
-
2
View file @
c57b12d3
...
...
@@ -121,8 +121,8 @@ function civicrm_api3_education_nationale_populate($params) {
}
// Post cleanup
if
(
strlen
(
$item
[
'organization_name'
])
>
1
44
){
$item
[
'organization_name'
]
=
substr
(
$item
[
'organization_name'
],
0
,
1
4
2
)
.
'…'
;
if
(
strlen
(
$item
[
'organization_name'
])
>
1
28
){
$item
[
'organization_name'
]
=
substr
(
$item
[
'organization_name'
],
0
,
12
7
)
.
'…'
;
}
$EducationalInstitutions
[]
=
civicrm_api3
(
'Contact'
,
'create'
,
$item
)[
'id'
];
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets