From f775a4d0cb3fec8c3b96ca86d32770c8af916bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 26 Apr 2024 01:30:17 +0200 Subject: [PATCH] MEME --- lib/upload.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/upload.php b/lib/upload.php index 746a1a5..d391e33 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -250,7 +250,6 @@ function deleteFile(int $fileID) :string $stmtDelete->bind_param('i', $fileID); } $stmtDelete->execute(); - $stmtDelete->fetch(); if ($file_location) { if (unlink($file_location) && $stmtDelete->affected_rows > 0) { $out['Status'] = 'Success';