[Koha-bugs] [Bug 27650] New: Wrong variable passed to the template in opac-main
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 8 11:25:59 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27650
Bug ID: 27650
Summary: Wrong variable passed to the template in opac-main
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: P5 - low
Component: OPAC
Assignee: jonathan.druart at bugs.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
Depends on: 14272
From:
commit acb455f151ac737613857c58e64a600d760a59e0
Bug 14272: Show single news item [alternative patch]
$template->param(
+ koha_news => @all_koha_news,
We must not pass an array, the number of elements of the hash passed to the
template may be inconsistent.
It's working because of an error earlier in the script:
+ @all_koha_news = &GetNewsToDisplay($news_lang,$homebranch);
GetNewsToDisplay returns an arrayref
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14272
[Bug 14272] Allow OPAC to show a single news entry
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list