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; } }