Skip to content

Commit b983631

Browse files
Merge pull request #193 from AlexanderBlanchardAC/DIS-464_refactor_filter_holds
Dis 464 refactor filter holds
2 parents 5c4c725 + 6597915 commit b983631

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/web/services/MyAccount/AJAX.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -3662,7 +3662,8 @@ public function filterHoldsBySelected(array $allHolds, $selectedHolds): array {
36623662

36633663
if (isset($parsedHolds['selected'])) {
36643664
foreach ($parsedHolds['selected'] as $holdKey => $value) {
3665-
if (preg_match('/(\d+)\|([a-zA-Z0-9:_-]+)\|?/', $holdKey, $matches)) {
3665+
3666+
if (preg_match('/(\d+)\|([a-zA-Z0-9:._-]+)\|?/', $holdKey, $matches)) {
36663667
$selectedHoldsArray[] = [
36673668
'recordId' => $this->normalizeRecordId($matches[2]),
36683669
];

0 commit comments

Comments
 (0)