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
32bd3646
Verified
Commit
32bd3646
authored
Dec 06, 2019
by
Guinness
Browse files
PHP Linting
parent
42a0e68f
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controller/admin.php
View file @
32bd3646
...
...
@@ -869,7 +869,7 @@ class Admin extends Controller
$db
->
query
(
"DELETE FROM adresses
WHERE id =
$id
"
);
);
}
else
{
$result
=
$db
->
query
(
"SELECT user_id FROM adresses WHERE id =
$id
"
);
$result
=
$result
->
fetch
(
\
PDO
::
FETCH_ASSOC
);
...
...
app/controller/campaign.php
View file @
32bd3646
...
...
@@ -34,7 +34,7 @@ class Campaign extends Controller
FROM dons
WHERE status IN (1, 4, 102)
AND datec > '"
.
CAMPAIGN_START_DATE
.
"'"
);
);
$total_confirmed
=
intval
(
$result
->
fetchColumn
());
$f3
->
set
(
'total_confirmed'
,
$total_confirmed
);
// Now, provisional. All reccuring pledge who have a datec in the last month (still active)
...
...
app/controller/cron.php
View file @
32bd3646
...
...
@@ -108,13 +108,13 @@ class Cron extends Controller
str_replace
(
"%%DECIMALES%%"
,
$decimales
,
str_replace
(
str_replace
(
"%%NOM%%"
,
$pdf
[
'nom'
],
str_replace
(
str_replace
(
"%%MILLIER%%"
,
$pdf
[
'decimale'
],
$template
$template
)
)
)
...
...
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