fix missing return value on AlleSchichtenCount

This commit is contained in:
root 2025-06-20 19:37:47 +02:00
parent 64e6717290
commit 22ca28520c
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ function AlleSchichtenCount($db_link, $HelferLevel = -1, $DienstID = -1)#stmt
$result = mysqli_stmt_get_result($stmt);
mysqli_stmt_close($stmt);
$zeile = mysqli_fetch_array($result, MYSQLI_ASSOC);
return $zeile['Anzahl'];
return $zeile['Anzahl'] ?? 0;
}