log error on empty time stamps in user-logging
This commit is contained in:
parent
0c67fbea29
commit
3f64d29910
|
|
@ -563,6 +563,9 @@ function LogSchichtEingabe($db_link, $HelferID, $SchichtID, $EinzelSchichtID, $A
|
||||||
$Bis = $row["Bis"] ?? "-";
|
$Bis = $row["Bis"] ?? "-";
|
||||||
$Was = $row["Was"] ?? "-";
|
$Was = $row["Was"] ?? "-";
|
||||||
$HelferName = $row["Name"] ?? "-";
|
$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: ";
|
$logline = date('Y-m-d H:i') . " HelferSchicht: ";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue