From 45b778484a5cbaa7c420e8f998274f4613f2146c Mon Sep 17 00:00:00 2001 From: Tony Yang Date: Wed, 3 Jul 2019 09:11:28 +0800 Subject: [PATCH] fixed notifying non-existent user --- include/notification.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/notification.php b/include/notification.php index 2b07f00..1d798ce 100644 --- a/include/notification.php +++ b/include/notification.php @@ -1,6 +1,12 @@ query("INSERT INTO `notification` (`username`, `message`, `url`, `type`, `time`) VALUES ('%s', '%s', '%s', '%s', '%s')", array($username, $message, $url, $type, $time)); }