diff --git a/functions.php b/functions.php index 54dff47..bd2d9bc 100644 --- a/functions.php +++ b/functions.php @@ -2027,8 +2027,8 @@ function star_sign($date) $zodiac[51] = "12"; $zodiac[20] = "11"; $zodiac[0] = "10"; - $dayOfYear = (int)date("z", $date); - $isLeapYear = (int)date("L", $date); //Высокосный? + (int)$dayOfYear = date("z", $date); + (int)$isLeapYear = date("L", $date); //Высокосный? if ($isLeapYear && $dayOfYear >59) { --$dayOfYear; }