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

--- Comment #33 from M. Tompsett <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to