forked from GithubBackups/vichan
Better post.php allow_delete error msg
This commit is contained in:
parent
dd1c160d35
commit
58c13bd2a7
2
post.php
2
post.php
@ -49,7 +49,7 @@ if (isset($_POST['delete'])) {
|
||||
|
||||
// Check if deletion enabled
|
||||
if (!$config['allow_delete'])
|
||||
error(_('Post deletion is not allowed!'));
|
||||
error(_('Users are not allowed to delete their own posts on this board.'));
|
||||
|
||||
if (empty($delete))
|
||||
error($config['error']['nodelete']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user