summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/footer.php4
1 files changed, 2 insertions, 2 deletions
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?"记录已延续了 <span id=\"build-time\"></span>":"";
if($faces=$this->options->anime_face){
$faces = explode("&&",$faces);
- $faces = "<span class=\"anime-face\">".$faces[mt_rand(0,count($faces))]."</span>";
+ $faces = "<span class=\"anime-face\">".$faces[mt_rand(0,count($faces)-1)]."</span>";
}
if($faces && $this->options->build_time)echo $faces;
?></p>
@@ -66,4 +66,4 @@ Theme Miracles by
Repo: https://github.com/BigCoke233/miracles
---> \ No newline at end of file
+-->