https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31503 --- Comment #47 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 141302 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141302&action=edit Bug 31503: (follow-up) Check return of GetByCode AV.GetByCode returns code when there is no description. So we should check the return. This patch also makes the use of the Do you agree-question a bit more consistent. No need to include it in the description. Test plan: Check the OPAC consents page when you have an AV description for a consent type and when you do not. For GDPR you should see the original GDPR text when there is no description. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.