This will fix the following error: Template process failed: undef error - Not a HASH reference at /home/vagrant/kohaclone/Koha/Template/Plugin/Branches.pm line 96. at /home/vagrant/kohaclone/C4/Templates.pm line 122 Koha::Libraries->pickup_locations does not always return an array, but arrayref if $biblio is not a Koha::Biblio object. I do not think it's the correct fix, the pattern in Koha::Libraries->pickup_locations is wrong: we should not expect 2 different types for a given parameter, biblio should always be a Koha::Biblio (idem for item btw). That could be fixed easily if the template had the Koha::Biblio object sent. Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> |
||
|---|---|---|
| .. | ||
| Asset.pm | ||
| AudioAlerts.pm | ||
| AuthorisedValues.pm | ||
| Biblio.pm | ||
| Borrowers.pm | ||
| Branches.pm | ||
| Cache.pm | ||
| Categories.pm | ||
| CirculationRules.pm | ||
| ColumnsSettings.pm | ||
| HtmlTags.pm | ||
| I18N.pm | ||
| ItemTypes.pm | ||
| Koha.pm | ||
| KohaDates.pm | ||
| KohaNews.pm | ||
| KohaPlugins.pm | ||
| KohaSpan.pm | ||
| Languages.pm | ||
| Price.pm | ||
| Remove_MARC_punctuation.pm | ||
| To.pm | ||
| raw.pm | ||