diff --git a/petitnote/index.php b/petitnote/index.php index 210cbe2d..29ad5b32 100644 --- a/petitnote/index.php +++ b/petitnote/index.php @@ -1,8 +1,8 @@ =3) && (3<=count($rr1)) && (3<=count($rr2)) ){ + if((3<=count($rr1)) && (3<=count($rr2)) ){ $rr1 = array_slice($rr1,-3); $rr2 = array_slice($rr2,0,3); $view_other_works= array_merge($rr1,$rr2); @@ -2601,7 +2601,6 @@ function res (){ }else{ $view_other_works= array_merge($rr1,$rr2); $view_other_works= array_slice($view_other_works,0,6); - } } //禁止ホスト