mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-11 14:10:06 +01:00
fix: paste hidden message
This commit is contained in:
parent
799de10f50
commit
7bcabf7ba0
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ if (isset($_POST['hide'])) {
|
|||
|
||||
$paste->is_hidden = $is_hidden;
|
||||
$paste->save();
|
||||
flashSuccess('Paste hidden.');
|
||||
flashSuccess('Paste ' . ($is_hidden ? 'hidden' : 'unhidden') . '.');
|
||||
header('Location: /');
|
||||
die();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue