as
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user