pcomment(reply,below) で、
となっている状態で「親コメント」に返信すると pcomment.inc.php pcmt_insert内で
// コメントの末尾を検索 while ($pos < count($postdata)) { if (preg_match('/^(\-{1,3})(?!\-)/',$postdata[$pos],$matches) and strlen($matches[1]) < $level) { break; } $pos++; }
の部分で $posが末尾まで行き、同281行で
$pos = $start_pos; //先頭
となってしまいます。
279行を
if ($pos == count($postdata) and $level==1)
とするのがスマートな解決と思うのですが如何でしょうか。