From 580880f0c5419bd3ada6f74c4ac0c4c9e2cc141f Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 26 Apr 2024 10:48:07 +0200 Subject: [PATCH] Remove debug --- lib/meme.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/meme.php b/lib/meme.php index da1898c..1659544 100644 --- a/lib/meme.php +++ b/lib/meme.php @@ -7,7 +7,6 @@ function addMeme(string $title, string $memeText, int $imageID): array { global $mysqli; $output = ["Status" => "Fail"]; - $output["Permalink"] = fileExists($imageID, false) ? "super" : "dokelu"; if (isLoggedIn() && fileExists($imageID, false) && !empty($title) && !empty($memeText) && !empty($imageID) && $imageID > 0) { $stmtMemeAdd = $mysqli->prepare('INSERT INTO Memes (AuthorID, Title, TextContent, FileID) VALUES (?, ?, ?, ?)'); $stmtMemeAdd->bind_param('issi', $_SESSION['ID'], htmlspecialchars($title), htmlspecialchars($memeText), $imageID);