]> 4ch.mooo.com Git - test.git/commitdiff
modified: yotsubanome.php
authorsparky4 <sparky4@4ch.irc.su>
Wed, 23 Feb 2011 08:06:04 +0000 (02:06 -0600)
committersparky4 <sparky4@4ch.irc.su>
Wed, 23 Feb 2011 08:06:04 +0000 (02:06 -0600)
yotsubanome.php

index 059c6b56b0f5aefc6a3ae1e4ddbd36307174d50b..17f00b81c04cdf173c83a58123a8b5a94a81898a 100755 (executable)
@@ -188,6 +188,7 @@ function updatelog($resno=0,$page_num=-1,$single_page=false){
 
        $PMS->useModuleMethods('ThreadFront', array(&$pte_vals['{$THREADFRONT}'], $resno)); // "ThreadFront" Hook Point
        $PMS->useModuleMethods('ThreadRear', array(&$pte_vals['{$THREADREAR}'], $resno)); // "ThreadRear" Hook Point
+       if($tree_count==0 && $page_end==-1) $page_end = 0;
 
        // 生成靜態頁面一頁份內容
        for($page = $page_start; $page <= $page_end; $page++){