From d8e12a15b75dfa554713f7aede761346ded429d9 Mon Sep 17 00:00:00 2001 From: Daniel Saunders Date: Mon, 24 Jul 2017 15:01:17 -0400 Subject: [PATCH 1/2] Dirty quick fix to allow moderation to move threads with deleted files --- inc/mod/pages.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 9167cfa0..e51bbd7d 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1314,7 +1314,9 @@ function mod_move($originBoard, $postID) { $post['has_file'] = true; foreach ($post['files'] as $i => &$file) { $file['file_path'] = sprintf($config['board_path'], $board['uri']) . $config['dir']['img'] . $file['file']; - $file['thumb_path'] = sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $file['thumb']; + + if (isset($file['thumb'])) + $file['thumb_path'] = sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $file['thumb']; } } else { $post['has_file'] = false; From 4025705eaca0d8025ae09ae93564ecb350b6a72b Mon Sep 17 00:00:00 2001 From: czaks Date: Mon, 24 Jul 2017 15:04:01 -0400 Subject: [PATCH 2/2] replace faulty dnsbl with efnetrbl --- inc/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 38375554..14c00665 100644 --- a/inc/config.php +++ b/inc/config.php @@ -200,7 +200,7 @@ // $config['dnsbl'][] = array('tor.dnsbl.sectoor.de', 1); //sectoor.de site is dead. the number stands for (an) ip adress(es) I guess. // Replacement for sectoor.de - $config['dnsbl'][] = 'torexit.dan.me.uk'; + $config['dnsbl'][] = array('rbl.efnet.org', 4); // http://www.sorbs.net/using.shtml // $config['dnsbl'][] = array('dnsbl.sorbs.net', array(2, 3, 4, 5, 6, 7, 8, 9));