From 776a0ba636131d6e0efd6c54bce167f88a3a680f Mon Sep 17 00:00:00 2001 From: Floorb <132411956+Neetpone@users.noreply.github.com> Date: Wed, 14 Jun 2023 03:02:47 -0400 Subject: [PATCH] fix: remove stupid extra line --- public/index.php | 1 - 1 file changed, 1 deletion(-) diff --git a/public/index.php b/public/index.php index a5a36a2..9118638 100644 --- a/public/index.php +++ b/public/index.php @@ -139,7 +139,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { if ($editing) { $paste = Paste::find($_POST['paste_id']); if (can('edit', $paste)) { - $paste_content = $paste->encrypt ? $paste_content : $_POST['paste_data']; $paste->update([ 'title' => $paste_title, 'content' => $paste_content,