From 1eb03a7f81110429bf71561c24b7251e4e4cd9fb Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 6 Jan 2015 06:54:00 +0000 Subject: [PATCH] Bug 13521: Add missing semicolon Add a missing semicolon to the end of a template variable assignment line. This patch should not affect operation. Note: With Bug 13499 we did a non-destructive perltidy, as such we only affected indenting and whitespace to maintain blame history. However, a number of minor code issues were also highlighted, in this series of patches I hope to correct other minor style issues. Signed-off-by: Chris Cormack Signed-off-by: Jonathan Druart Signed-off-by: Mason James (cherry picked from commit e27969c5028211298bc4006013c0ae184d80ff5d) Signed-off-by: Fridolin Somers --- C4/Auth.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'} -- 2.39.5