diff --git a/inc/8chan-mod-pages.php b/inc/8chan-mod-pages.php index f080c70f..3f16e16c 100644 --- a/inc/8chan-mod-pages.php +++ b/inc/8chan-mod-pages.php @@ -475,7 +475,7 @@ FLAGS; } } - $anal_filenames = ($imgboard || $fileboard) && isset($_POST['anal_filenames']) ? "\$config['filename_func'] = 'filename_func';\n" : ''; + $anal_filenames = ($fileboard) && isset($_POST['anal_filenames']) ? "\$config['filename_func'] = 'filename_func';\n" : ''; $anonymous = base64_encode($_POST['anonymous']); $blotter = base64_encode(purify_html(html_entity_decode($_POST['blotter']))); diff --git a/templates/mod/settings.html b/templates/mod/settings.html index 7dae373f..d559c96e 100644 --- a/templates/mod/settings.html +++ b/templates/mod/settings.html @@ -75,7 +75,7 @@