This commit is contained in:
2025-11-22 02:05:11 +01:00
parent a51a6cc236
commit 7411aafe76
11 changed files with 20 additions and 19 deletions

View File

@@ -114,7 +114,7 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v
* @param string $type z.B. 'success', 'error', 'info', 'warning'
* @param string $message Die Meldung für den Nutzer
*/
function flash_set(string $type, string $message, string $context = null): void
function flash_set(string $type, string $message, ?string $context = null): void
{
if (session_status() !== PHP_SESSION_ACTIVE) {
@session_start();