Skip to content

Commit

Permalink
Merge pull request #9606 from bozana/9462
Browse files Browse the repository at this point in the history
#9462 fix query bindings parameter in ContextDAO::getAvail…
  • Loading branch information
bozana authored Jan 10, 2024
2 parents 4cd09af + cd7ceba commit 5b4e837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/context/ContextDAO.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function getAvailable($userId = null, $rangeInfo = null)
$currentDateTime = Core::getCurrentDate();
$params = array_merge(
$params,
[(int) $userId, (int) $userId, (int) Role::ROLE_ID_SITE_ADMIN, $currentDateTime, $currentDateTime]
[(int) $userId, $currentDateTime, $currentDateTime, (int) $userId, (int) Role::ROLE_ID_SITE_ADMIN, $currentDateTime, $currentDateTime]
);
}

Expand Down

0 comments on commit 5b4e837

Please sign in to comment.