[Koha-bugs] [Bug 29067] Remove duplicate conditional statement from OPAC messaging settings title
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 21 00:42:20 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29067
--- Comment #1 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 125083
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125083&action=edit
Bug 29067: Remove duplicate conditional statement from OPAC messaging settings
title
We can never reach the first [% ELSE %]Koha online[% END %] block in OPAC
messaging preferences title, so it's dead code.
This patch removes the useless duplicate if-statement.
To test:
1. Enable EnhancedMessagingPreferencesOPAC system preference
2. Go to /cgi-bin/koha/opac-messaging.pl
3. Observe title Your messaging settings > Koha online catalog
4. Apply patch
5. Refresh page /cgi-bin/koha/opac-messaging.pl
6. Observe same title Your messaging settings > Koha online catalog
7. See patch content
8. Confirm there are no functional changes in the new logic
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list