From ace3ea61f70ff4aab78ece871d78be90f1728d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Thu, 25 Apr 2024 23:16:13 +0200 Subject: [PATCH] MEME --- lib/meme.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/meme.php b/lib/meme.php index 76b9a59..56cc502 100644 --- a/lib/meme.php +++ b/lib/meme.php @@ -11,6 +11,7 @@ function addMeme(string $title, string $memeText, int $imageID): array $stmtMemeAdd->bind_param('issi', $_SESSION['ID'], htmlspecialchars($title), htmlspecialchars($memeText), $imageID); if($stmtMemeAdd->execute() && $stmtMemeAdd->affected_rows > 0) { $output["Status"] = "Success"; + $output["Meme"] = "Funny"; $output["Error"] = $stmtMemeAdd->error; } }