miss...
このコミットが含まれているのは:
コミット
86ae51b44d
|
@ -102,7 +102,7 @@ function get_post_metadata($file, $deleted = false) {
|
|||
$thread_title = load_post_title_by_id($thread_id);
|
||||
}
|
||||
|
||||
if ($thread_id != '' && $thread_title != '') {
|
||||
if ($thread_id != '' && $thread_title == '') {
|
||||
$thread_title = '無題#' . mb_substr($thread_id, 0, 7);
|
||||
}
|
||||
|
||||
|
@ -554,7 +554,7 @@ function load_post_title_by_id($id) {
|
|||
if (isset($post_title_cache[$id])) { return $post_title_cache[$id]; }
|
||||
|
||||
$files = glob(POST_DIR . '2*Z*.id' . $id . '.*.txt');
|
||||
if (sizeof($files) !== 1) {
|
||||
if (sizeof($files) != 1) {
|
||||
$files = null;
|
||||
$post_title_cache[$id] = '';
|
||||
return '';
|
||||
|
|
|
@ -62,6 +62,9 @@ function view_post($post, $options = []) {
|
|||
<dt>件名:<b><?= $title ?></b></dt>
|
||||
<?php endif; ?>
|
||||
<dt><?= $res_num > 0 ? "{$res_num} " : '' ?><?= $html_user ?> <?= $html_time ?></dt>
|
||||
<?php if ($link_to_thread && $thread_id > ''): ?>
|
||||
<dd>RE: <a href="<?= $thread_url ?>"><?= $thread_title ?></a></dd>
|
||||
<?php endif; ?>
|
||||
<dd><?= $body ?>
|
||||
<?php if (ENABLE_ATTACHMENT && $html_attachment_items != ''): ?>
|
||||
<?= PHP_EOL ?>
|
||||
|
|
読み込み中…
新しいイシューから参照