[Koha-bugs] [Bug 14272] Allow OPAC to show a single news item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 22 04:29:08 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14272

--- Comment #33 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 50558
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50558
Bug 14272: Show single news item (backend)

Review of attachment 50558:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14272&attachment=50558)
-----------------------------------------------------------------

::: C4/NewsChannels.pm
@@ +195,4 @@
>  =cut
>  
>  sub GetNewsToDisplay {
> +    my ($lang,$branch,$time,$id) = @_;

Refactor to a hash as recommended by PERL 16.
https://wiki.koha-community.org/wiki/Coding_Guidelines#PERL16:_Hashrefs_should_be_used_as_arguments

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list