log error on empty time stamps in user-logging

This commit is contained in:
root 2025-06-18 15:03:42 +02:00
parent 0c67fbea29
commit 3f64d29910
1 changed files with 3 additions and 0 deletions

View File

@ -563,6 +563,9 @@ function LogSchichtEingabe($db_link, $HelferID, $SchichtID, $EinzelSchichtID, $A
$Bis = $row["Bis"] ?? "-";
$Was = $row["Was"] ?? "-";
$HelferName = $row["Name"] ?? "-";
if( $Von === "-" and $Bis === "-" ){
error_log("Leere Zeiten werden geloggt. Parameter logging-Aufruf (HelferID:$HelferID): $HelferID, $SchichtID, $EinzelSchichtID, $Aktion, $AdminID");
}
$logline = date('Y-m-d H:i') . " HelferSchicht: ";