mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-11 14:10:06 +01:00
fix: remove stupid extra line
This commit is contained in:
parent
8969eb4071
commit
776a0ba636
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue