Verified Commit 32bd3646 authored by Guinness's avatar Guinness
Browse files

PHP Linting

parent 42a0e68f
...@@ -869,7 +869,7 @@ class Admin extends Controller ...@@ -869,7 +869,7 @@ class Admin extends Controller
$db->query( $db->query(
"DELETE FROM adresses "DELETE FROM adresses
WHERE id = $id" WHERE id = $id"
); );
} else { } else {
$result = $db->query("SELECT user_id FROM adresses WHERE id = $id"); $result = $db->query("SELECT user_id FROM adresses WHERE id = $id");
$result = $result->fetch(\PDO::FETCH_ASSOC); $result = $result->fetch(\PDO::FETCH_ASSOC);
......
...@@ -34,7 +34,7 @@ class Campaign extends Controller ...@@ -34,7 +34,7 @@ class Campaign extends Controller
FROM dons FROM dons
WHERE status IN (1, 4, 102) WHERE status IN (1, 4, 102)
AND datec > '".CAMPAIGN_START_DATE."'" AND datec > '".CAMPAIGN_START_DATE."'"
); );
$total_confirmed = intval($result->fetchColumn()); $total_confirmed = intval($result->fetchColumn());
$f3->set('total_confirmed', $total_confirmed); $f3->set('total_confirmed', $total_confirmed);
// Now, provisional. All reccuring pledge who have a datec in the last month (still active) // Now, provisional. All reccuring pledge who have a datec in the last month (still active)
......
...@@ -108,13 +108,13 @@ class Cron extends Controller ...@@ -108,13 +108,13 @@ class Cron extends Controller
str_replace( str_replace(
"%%DECIMALES%%", "%%DECIMALES%%",
$decimales, $decimales,
str_replace( str_replace(
"%%NOM%%", "%%NOM%%",
$pdf['nom'], $pdf['nom'],
str_replace( str_replace(
"%%MILLIER%%", "%%MILLIER%%",
$pdf['decimale'], $pdf['decimale'],
$template $template
) )
) )
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment