Skip to content

Commit

Permalink
fix expected int type
Browse files Browse the repository at this point in the history
  • Loading branch information
nkissebe committed Feb 12, 2025
1 parent 6840dcc commit 082cbdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/components/com_events/site/controllers/events.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public function weekTask()
$month = intval($this->month);
$day = intval($this->day);

$startday = _CAL_CONF_STARDAY;
$startday = intval(_CAL_CONF_STARDAY);
$numday = ((date("w", mktime(0, 0, 0, $month, $day, $year)) - $startday) % 7);
if ($numday == -1)
{
Expand Down

0 comments on commit 082cbdc

Please sign in to comment.