Closed (fixed)
Project:
Similar By Terms
Version:
8.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2024 at 20:47 UTC
Updated:
20 Jul 2026 at 03:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
max-kuzomko commentedThe issue happens because the condition
if ($val === 0)doesn't work when the $val is actually a string '0'. Added a fix.Comment #5
vitaliyb98 commentedIn the MR, I provided a fix that resolves this issue and avoids the need for additional foreach loops:
Comment #8
shelane