From 2b60b4d02aa0e0a8a675fa952d1f8068e8e319e1 Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Sun, 12 Jul 2020 18:22:21 +0800 Subject: =?UTF-8?q?:bug:=20Fix:=20=E8=A7=A3=E5=86=B3=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?=E9=A2=9C=E6=96=87=E5=AD=97=E5=8F=AF=E8=83=BD=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/footer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/footer.php') diff --git a/includes/footer.php b/includes/footer.php index e9e0c08..312249e 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -10,7 +10,7 @@ echo $this->options->build_time?"记录已延续了 ":""; if($faces=$this->options->anime_face){ $faces = explode("&&",$faces); - $faces = "".$faces[mt_rand(0,count($faces))].""; + $faces = "".$faces[mt_rand(0,count($faces)-1)].""; } if($faces && $this->options->build_time)echo $faces; ?>

@@ -66,4 +66,4 @@ Theme Miracles by Repo: https://github.com/BigCoke233/miracles ---> \ No newline at end of file +--> -- cgit v1.2.3