diff --git a/C4/Auth.pm b/C4/Auth.pm index 15aa8b8b86..7c46bd0309 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -299,8 +299,8 @@ sub get_template_and_user { } } - if(C4::Context->preference('dateformat')){ - $template->param(dateformat => C4::Context->preference('dateformat')) + if ( C4::Context->preference('dateformat') ) { + $template->param( dateformat => C4::Context->preference('dateformat') ); } # these template parameters are set the same regardless of $in->{'type'}