fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
include 'renderer.php';
|
||||
require '../vendor/autoload.php'; // Stelle sicher, dass der Autoloader für PhpSpreadsheet geladen wird
|
||||
include '../vendor/autoload.php'; // Stelle sicher, dass der Autoloader für PhpSpreadsheet geladen wird
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
||||
@@ -33,10 +33,11 @@ class Memberlistdownload extends Renderer {
|
||||
ON cp.id = c.position_id
|
||||
WHERE cs.`status_text` NOT IN ("Mitgliedschaft abgelehnt", "Mitgliedschaft gekündigt")
|
||||
queryend;
|
||||
$result = mysqli_query($this->dbConnection, $query);
|
||||
$result = [];
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$result[] = [
|
||||
$result = mysqli_query($this->dbConnection, $query);
|
||||
$entries = [];
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
var_dump($row);
|
||||
$entries[] = [
|
||||
'first_name' => $this->decode($row['first_name'], $row['salt']),
|
||||
'last_name' => $this->decode($row['last_name'], $row['salt']),
|
||||
'street' => $this->decode($row['street'], $row['salt']),
|
||||
@@ -56,9 +57,9 @@ queryend;
|
||||
'membership_start' => $row['membership_start'],
|
||||
'status_text' => $row['status_text'],
|
||||
'last_payment' => $row['last_payment'],
|
||||
'description' => $row['description'],
|
||||
'description' => $row['description'],
|
||||
];
|
||||
}
|
||||
return $result;
|
||||
return $entries;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user