[Koha-bugs] [Bug 29321] Remove a last without loop context
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 11 21:50:53 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29321
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #127396|0 |1
is obsolete| |
--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 127555
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127555&action=edit
Bug 29321: Remove a last without loop context
This reads better when converted to regular if.
Note that last within such a block is allowed in Perl, but it feels
better to use it only in a loop context.
Test plan:
Read the patch ;)
Bonus: Test if you enter the block by using pref OPACSuggestionMandatoryFields
when adding a suggestion from opac.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Edit: Added a space between 'if' and '(' :-D
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list