Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
54801161
Commit
54801161
authored
Nov 09, 2020
by
Bastien Le Querrec
Browse files
increase file limit
In case we have to process CSVs with more than 1000 rows.
parent
8a7bf857
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controller/admin.php
View file @
54801161
...
...
@@ -1417,7 +1417,7 @@ class Admin extends Controller
}
// On lit maintenant tout, ligne par ligne, afin de vérifier les informations bancaires pour chaque don.
while
((
$data
=
fgetcsv
(
$handle
,
1000
,
$separator
))
!==
false
)
{
while
((
$data
=
fgetcsv
(
$handle
,
1000
0
,
$separator
))
!==
false
)
{
if
(
count
(
$data
)
<=
0
)
{
continue
;
}
...
...
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