small mistake
This commit is contained in:
parent
0ecfc414f9
commit
edfba3b196
2
post.php
2
post.php
@ -277,7 +277,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
if($config['image_reject_repost'] && $p = getPostByHash($post['filehash'])) {
|
||||
if($post['has_file'] && $config['image_reject_repost'] && $p = getPostByHash($post['filehash'])) {
|
||||
undoImage($post);
|
||||
error(sprintf($config['error']['fileexists'],
|
||||
$post['mod'] ? $config['root'] . $config['file_mod'] . '?/' : $config['root'] .
|
||||
|
Loading…
Reference in New Issue
Block a user