Browse Source

small mistake

pull/40/head
Savetheinternet 13 years ago
parent
commit
edfba3b196
  1. 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…
Cancel
Save