Stack underflow error on masthead.inc
[koha.git] / members / guarantor_search.pl
index 8059b72..881df94 100755 (executable)
@@ -24,9 +24,7 @@ use strict;
 use C4::Auth;
 use C4::Output;
 use CGI;
-
-#op
-use C4::Date;
+use C4::Dates qw/format_date/;
 use C4::Members;
 
 my $input = new CGI;
@@ -81,8 +79,10 @@ if ($member ne ''){
                surname => $results->[$i]{'surname'},
                firstname => $results->[$i]{'firstname'},
                categorycode => $results->[$i]{'categorycode'},
+               streetnumber => $results->[$i]{'streetnumber'},
                address => $results->[$i]{'address'},
                city => $results->[$i]{'city'},
+               zipcode => $results->[$i]{'zipcode'},
                branchcode => $results->[$i]{'branchcode'},
                guarantorinfo =>$guarantorinfo,
                #op
@@ -102,4 +102,4 @@ $template->param(
                        
                        resultsloop     => \@resultsdata );
 
-output_html_with_http_headers $input, $cookie, $template->output;
\ No newline at end of file
+output_html_with_http_headers $input, $cookie, $template->output;