Bug 2832: [SIGNED-OFF] Followup: Add a default value
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 24 Oct 2012 14:19:24 +0000 (16:19 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 28 Nov 2012 13:16:07 +0000 (08:16 -0500)
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Makes sense, and works as advertised.

members/members-home.pl

index 61eb83a..017669c 100755 (executable)
@@ -80,6 +80,6 @@ $template->param(
         "AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1",
         no_add => $no_add,
             );
-$template->param( 'alphabet' => C4::Context->preference('alphabet') );
+$template->param( 'alphabet' => C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' );
 
 output_html_with_http_headers $query, $cookie, $template->output;