Update hash matching

This commit is contained in:
DariusIII
2025-01-30 13:03:13 +01:00
parent fbeff33529
commit d9a7f04d7d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -461,7 +461,7 @@ class ProcessReleases
'isrenamed' => $properName === true ? 1 : 0,
'predb_id' => $preID === false ? 0 : $preID,
'nzbstatus' => NZB::NZB_NONE,
'ishashed' => preg_match('/^[a-fA-F0-9]{32}\b|^[a-fA-F0-9]{40}\b|^[a-fA-F0-9]{64}\b/i', $searchName) ? 1 : 0,
'ishashed' => preg_match('/^[a-fA-F0-9]{32}\b|^[a-fA-F0-9]{40}\b|^[a-fA-F0-9]{64}\b|^[a-fA-F0-9]{96}\b|^[a-fA-F0-9]{128}\b/i', $searchName) ? 1 : 0,
]
);