diff --git a/functions.php b/functions.php index cf7f4b0..92ad34d 100644 --- a/functions.php +++ b/functions.php @@ -1947,7 +1947,7 @@ function star_sign($month, $day) $day = (int)sprintf("%02d", mt_rand(1, 29)); } $signs = ["10", "11", "12", "01", "02", "03", "04", "05", "06", "07", "08", "09"]; - $signsstart = [01 => 21, 02 => 20, 03 => 20, 04 => 20, 05 => 20, 06 => 20, 07 => 21, 08 => 22, 09 => 23, 10 => 23, 11 => 23, 12 => 23]; + $signsstart = ['01' => 21, '02' => 20, '03' => 20, '04' => 20, '05' => 20, '06' => 20, '07' => 21, '08' => 22, '09' => 23, '10' => 23, '11' => 23, '12' => 23]; return $day < $signsstart[$month + 1] ? $signs[$month - 1] : $signs[$month % 12]; }