Skip to content

Commit 63f74c6

Browse files
committed
続きを描いている最中の記事が削除ずみの時に未定義エラーが発生していたのを修正。
1 parent 2dbee65 commit 63f74c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

petitnote/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
//Petit Note (c)さとぴあ @satopian 2021-2025
33
//1スレッド1ログファイル形式のスレッド式画像掲示板
4-
$petit_ver='v1.89.8';
5-
$petit_lot='lot.20250605';
4+
$petit_ver='v1.89.9';
5+
$petit_lot='lot.20250607';
66

77
$lang = ($http_langs = $_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? '')
88
? explode( ',', $http_langs )[0] : '';
@@ -1413,7 +1413,7 @@ function img_replace(): void {
14131413
break;
14141414
}
14151415
}
1416-
if(!check_elapsed_days($_time)&&(!$adminpost && !$admindel)){//指定日数より古い画像差し換えは新規投稿にする
1416+
if($flag && !check_elapsed_days($_time)&&(!$adminpost && !$admindel)){//指定日数より古い画像差し換えは新規投稿にする
14171417

14181418
closeFile($rp);
14191419
closeFile($fp);

0 commit comments

Comments
 (0)