diff --git a/mod.php b/mod.php index b01e6e29..9aedf0d2 100644 --- a/mod.php +++ b/mod.php @@ -321,6 +321,8 @@ sprintf($config['file_page'], $post['thread']) . '#' . $match[1] : sprintf($config['file_page'], $match[1])) . '">$1', $log['text']); + } else { + $log['text'] = preg_replace('/post (#(\d+))/', 'post $1', $log['text']); } if($config['cache']['enabled'])