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]))