Version updated
This commit is contained in:
@@ -824,7 +824,10 @@ class RepoStatistikJahre
|
|||||||
{
|
{
|
||||||
$sql = "SELECT YEAR(datum) as jahr FROM " . self::TBL . " GROUP BY YEAR(datum) ORDER BY YEAR(datum) DESC";
|
$sql = "SELECT YEAR(datum) as jahr FROM " . self::TBL . " GROUP BY YEAR(datum) ORDER BY YEAR(datum) DESC";
|
||||||
$rows = DB::all($sql);
|
$rows = DB::all($sql);
|
||||||
return array_map(fn($r) => (int)$r['jahr'], $rows);
|
// return array_map(fn($r) => (int)$r['jahr'], $rows);
|
||||||
|
return array_map(function ($r) {
|
||||||
|
return (int)$r['jahr'];
|
||||||
|
}, $rows);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -947,9 +950,20 @@ class Mailer
|
|||||||
require_once __DIR__ . '/phpmailer/dosendmail.php';
|
require_once __DIR__ . '/phpmailer/dosendmail.php';
|
||||||
|
|
||||||
// sanitize lists
|
// sanitize lists
|
||||||
$toList = array_values(array_filter($toList, fn($v) => is_string($v) && trim($v) !== ''));
|
$toList = array_values(array_filter($toList, function ($v) {
|
||||||
$ccList = array_values(array_filter($ccList, fn($v) => is_string($v) && trim($v) !== ''));
|
return is_string($v) && trim($v) !== '';
|
||||||
$bccList = array_values(array_filter($bccList, fn($v) => is_string($v) && trim($v) !== ''));
|
}));
|
||||||
|
|
||||||
|
$ccList = array_values(array_filter($ccList, function ($v) {
|
||||||
|
return is_string($v) && trim($v) !== '';
|
||||||
|
}));
|
||||||
|
|
||||||
|
$bccList = array_values(array_filter($bccList, function ($v) {
|
||||||
|
return is_string($v) && trim($v) !== '';
|
||||||
|
}));
|
||||||
|
// $toList = array_values(array_filter($toList, fn($v) => is_string($v) && trim($v) !== ''));
|
||||||
|
// $ccList = array_values(array_filter($ccList, fn($v) => is_string($v) && trim($v) !== ''));
|
||||||
|
// $bccList = array_values(array_filter($bccList, fn($v) => is_string($v) && trim($v) !== ''));
|
||||||
|
|
||||||
if (empty($toList)) {
|
if (empty($toList)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# Production Environment Variables
|
# Production Environment Variables
|
||||||
VITE_API_URL=/intern/sofue/php/sofueDB.php
|
# VITE_API_URL=/intern/sofue/php/sofueDB.php
|
||||||
|
VITE_API_URL=/DB4js_all.php # Lokales Development Backend (über Proxy)
|
||||||
|
|
||||||
# HTTP Basic Authentication
|
# HTTP Basic Authentication
|
||||||
VITE_API_USERNAME=beogruppe
|
VITE_API_USERNAME=beogruppe
|
||||||
|
|||||||
@@ -1,11 +1,18 @@
|
|||||||
// VersiosNummern und -Geschichte
|
// VersiosNummern und -Geschichte
|
||||||
|
|
||||||
var VERSION="1.92";
|
var VERSION="1.94";
|
||||||
var VDATE="2024-09-20";
|
var VDATE="2025-12-14";
|
||||||
|
|
||||||
/* History
|
/* History
|
||||||
|
|
||||||
Rev. Datum Entwickler
|
R1ev. Datum Entwickler
|
||||||
|
1.94 2025-12-14 rxf
|
||||||
|
- DB4js_all.php nun verwenden
|
||||||
|
- prüfen auf 'termin === null' ich check1900()
|
||||||
|
|
||||||
|
1.93 2025-05-12 rxf
|
||||||
|
- Kalender-Eintrag nun auch mit Beo
|
||||||
|
|
||||||
1.92 2024-09-20 rxf
|
1.92 2024-09-20 rxf
|
||||||
- Probleme mit 'Zusgae sende' behoben
|
- Probleme mit 'Zusgae sende' behoben
|
||||||
- auch bei mehreren BEOs geht nun die Mail richtig
|
- auch bei mehreren BEOs geht nun die Mail richtig
|
||||||
|
|||||||
Reference in New Issue
Block a user