From 6bb2a32f248a7a6fb5a5639018de9492dd1ef3a1 Mon Sep 17 00:00:00 2001 From: William Date: Thu, 27 Mar 2025 19:29:35 +0000 Subject: [PATCH] Update pinglerr_web/public/index.php --- pinglerr_web/public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinglerr_web/public/index.php b/pinglerr_web/public/index.php index 49ad979..d6f1daa 100644 --- a/pinglerr_web/public/index.php +++ b/pinglerr_web/public/index.php @@ -31,7 +31,7 @@ function flash_message(string $msg, string $type = 'info', bool $unsafe = false) "warning" ]; if (!in_array($type, $types)) { - throw new InvalidArgumentException("Flash type: \"$type\" does not exist"); + throw new InvalidArgumentException("Flash type: $type does not exist"); } $key = 'flash_messages'; if (!isset($_SESSION[$key]))