Skip to content

Commit

Permalink
#9462 fix query bindings parameter in ContextDAO::getAvailable()
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Jan 10, 2024
1 parent 4cd09af commit cd7ceba
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 cd7ceba

Please sign in to comment.