Skip to content

Commit

Permalink
fixup! Fix all PHP 8.1 test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltik committed Sep 6, 2021
1 parent 3481f2a commit 4dab7d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e107_admin/cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,9 @@ function cron_tab($curVal,$mode)
$text .= "<br />";
$text .= ($day != '*') ? LAN_CRON_52 ." ". $day : LAN_CRON_40; // Day(s)
$text .= "<br />";
$text .= ($month != '*') ? LAN_CRON_53 ." ". e_date::strftime("%B", mktime(00, 00, 00, $month, 1, 2000)) : LAN_CRON_41; // Month(s)
$text .= ($month != '*') ? LAN_CRON_53 ." ". e_date::strftime("%B", mktime(00, 00, 00, (int) $month, 1, 2000)) : LAN_CRON_41; // Month(s)
$text .= "<br />";
$text .= ($weekday != '*') ? LAN_CRON_54 ." ". e_date::strftime("%A", mktime(00, 00, 00, 5, $weekday, 2000)) : LAN_CRON_42; // Weekday(s)
$text .= ($weekday != '*') ? LAN_CRON_54 ." ". e_date::strftime("%A", mktime(00, 00, 00, 5, (int) $weekday, 2000)) : LAN_CRON_42; // Weekday(s)


return "<a class='e-tip' href=''>".ADMIN_INFO_ICON."</a>
Expand Down

0 comments on commit 4dab7d2

Please sign in to comment.