Bug 31154: Avoid unecessary loop
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 Oct 2022 14:00:25 +0000 (16:00 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 21 Oct 2022 15:27:05 +0000 (12:27 -0300)
commitb582f7d495fceda68a7972f7eab0d4e5d16bdcdf
tree6706662d724dcbdde57ed0c01faa644cff80ead0
parentedf8640cff4c929196d1768152a705fb350317a0
Bug 31154: Avoid unecessary loop

We don't need to loop over the subfield and enter this block if there is
no record.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/UI/Form/Builder/Item.pm