Bug 13521: Add missing semicolon
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 6 Jan 2015 06:54:00 +0000 (06:54 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 18 Jun 2015 07:30:25 +0000 (09:30 +0200)
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 <chris@bigballofwax.co.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
(cherry picked from commit e27969c5028211298bc4006013c0ae184d80ff5d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

C4/Auth.pm

index 15aa8b8..7c46bd0 100644 (file)
@@ -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'}