Bug 22544: TT plugin should return hashref only if news exist
It restore the header and fix the RSS feeds (see comment 103) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
52ff082aa0
commit
76d53f6787
2 changed files with 1 additions and 3 deletions
|
@ -43,7 +43,7 @@ sub get {
|
|||
});
|
||||
|
||||
|
||||
if( $content ){
|
||||
if( $content->count ){
|
||||
return {
|
||||
content => $content,
|
||||
location => $display_location,
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
<span>(There was a problem checking in this item, please see library staff for assistance)</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacHeader = KohaNews.get( location => "opacheader", lang => lang, library => branchcode, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
|
||||
<title>Self check-in › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
|
||||
|
|
Loading…
Reference in a new issue