From b0185a9ac012f66800eb043cb948d0f8087c2659 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sun, 8 Aug 2021 20:57:12 +0200 Subject: [PATCH] fix: add no message provided err --- modules/quicknote/quicknote.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/quicknote/quicknote.php b/modules/quicknote/quicknote.php index a394002..1d9b051 100644 --- a/modules/quicknote/quicknote.php +++ b/modules/quicknote/quicknote.php @@ -40,6 +40,7 @@ if (isset($_GET['message'])) { } if (strlen($message) === 0) { + echo 'No message provided'; exit(); }